The redundancy control method and system of automobile
Technical field
The present invention relates to automobile technical fields, specifically, being related to the redundancy control method and system of a kind of automobile.
Background technique
With progress of the epoch, automobile has come into huge numbers of families as a kind of common vehicles.
In current most automobile, when the gear of automobile changes, pedal is operated, entire car controller (Vehicle
Control Unit, abbreviation VCU) by parsing gear information, pedal information, the target torque of the motor of the vehicle is calculated,
And the target torque is sent to motor by controller LAN (Controller Area Network, abbreviation CAN) bus
Controller.And then the electric machine controller changes the working condition of motor according to the target torque received, and then changes automobile
Driving status.
Inventors have found that in the prior art, when CAN bus failure, between entire car controller and electric machine controller
Connection disconnects.Electric machine controller can not change the working condition of motor according to the target torque from entire car controller, lead to vapour
Vehicle can not be controlled, it is possible to create serious consequence.
Summary of the invention
The purpose of the present invention is to provide a kind of redundancy control method of automobile and systems, it is ensured that when bus fails, vapour
Vehicle is still within controlled state.
First aspect present invention provides a kind of redundancy control system of automobile, including entire car controller, electric machine controller,
Connect several analog channels of entire car controller and electric machine controller, wherein
When the electric machine controller is in analog signal transmission mode, the entire car controller is used for the shelves that will be received
Position information or pedal information are converted to analog signal, and are sent to electric machine controller by corresponding analog channel;
The electric machine controller is used for according to the analog signal driving motor received.
Analog channel includes the first analog channel, the second analog channel, and first analog channel is stepped on for transmitting to represent
The analog signal of plate information, second analog channel are used for transmission the analog signal for representing gear information.
The system further includes the failure instruction path for connecting the entire car controller and electric machine controller.
The entire car controller is also used to when detecting bus failure, and Xiang Suoshu electric machine controller sends failure instruction;
The electric machine controller is used to be instructed according to the failure, opens the analog signal transmission mode.
The electric machine controller connects cooling device, when the electric machine controller is in analog signal transmission mode, institute
Electric machine controller is stated to be also used to drive the cooling device.
Present invention offers following the utility model has the advantages that in the technical solution of the embodiment of the present invention, provides a kind of automobile
Redundancy control system, when electric machine controller within the system is in analog signal transmission mode, entire car controller passes through connection
The analog channel of itself and electric machine controller sends analog signal, which is to be turned according to gear information or pedal information processing
It changes.The electric machine controller is according to the analog signal driving motor received.When realizing CAN bus failure, entire car controller
Still be able to transmit signal with electric machine controller, avoid automobile and be in uncontrolled state, improve the reliability of automobile with
Safety improves the usage experience of user.
Second aspect of the present invention provides a kind of redundancy control method of automobile, comprising:
When electric machine controller is in analog signal transmission mode, entire car controller is by the gear information received or pedal
Information is converted to analog signal, and is sent to electric machine controller by corresponding analog channel;
The electric machine controller is according to the analog signal driving motor received.
Analog channel includes the first analog channel, the second analog channel, and first analog channel is stepped on for transmitting to represent
The analog signal of plate information, second analog channel are used for transmission the analog signal for representing gear information.
The analog signal for representing pedal information includes the first analog voltage signal, the second analog voltage signal, described
First analog voltage signal corresponds to accelerator pedal, and second analog voltage signal corresponds to brake pedal.
The analog signal for representing gear information includes third analog voltage signal, the 4th analog voltage signal, the 5th
Analog voltage signal and the 6th analog voltage signal, the third analog voltage signal correspond to parking position switch, the 4th simulation electricity
Pressure signal corresponds to reverse gear, and the 5th analog voltage signal corresponds to drive, and the 6th analog voltage signal corresponds to neutral gear.
The method further include:
When the entire car controller detects bus failure, Xiang Suoshu electric machine controller sends failure instruction;
The electric machine controller is instructed also according to the failure, opens the analog signal transmission mode.
When the electric machine controller is in analog signal transmission mode, the electric machine controller is also used to drive cooling dress
It sets.
Other features and advantages of the present invention will be illustrated in the following description, also, partly becomes from specification
It obtains it is clear that understand through the implementation of the invention.The objectives and other advantages of the invention can be by specification, right
Specifically noted structure is achieved and obtained in claim and attached drawing.
Detailed description of the invention
To describe the technical solutions in the embodiments of the present invention more clearly, required in being described below to embodiment
Attached drawing does simple introduction:
Fig. 1 is the structural schematic diagram of the redundancy control system for the automobile that the embodiment of the present invention one provides;
Fig. 2 is the flow diagram one of the redundancy control method of automobile provided by Embodiment 2 of the present invention;
Fig. 3 is the flow diagram two of the redundancy control method of automobile provided by Embodiment 2 of the present invention.
Specific embodiment
Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings and examples, how to apply to the present invention whereby
Technological means solves technical problem, and the realization process for reaching technical effect can fully understand and implement.It needs to illustrate
As long as not constituting conflict, each feature in each embodiment and each embodiment in the present invention can be combined with each other,
It is within the scope of the present invention to be formed by technical solution.
Embodiment one:
A kind of redundancy control system of automobile is present embodiments provided, as shown in Figure 1, the redundancy control system includes vehicle
Controller, electric machine controller, several analog channels for connecting entire car controller and electric machine controller, in which:
When the electric machine controller is in analog signal transmission mode, the entire car controller is used for the shelves that will be received
Position information or pedal information are converted to analog signal, and are sent to electric machine controller by corresponding analog channel;
The electric machine controller is used for according to the analog signal driving motor received.
In the technical solution of the embodiment of the present invention, a kind of redundancy control system of automobile is provided, within the system
When electric machine controller is in analog signal transmission mode, entire car controller is sent out by connecting the analog channel of itself and electric machine controller
Analog signal is sent, which is to convert according to gear information or pedal information processing.The electric machine controller is according to reception
The analog signal driving motor arrived.When realizing CAN bus failure, entire car controller, which still is able to transmit with electric machine controller, to be believed
Number, it avoids automobile and is in uncontrolled state, improve the reliability and safety of automobile, improve user uses body
It tests.
Preferably, which includes the first analog channel, the second analog channel.Wherein, first analog channel
For transmitting the analog signal for representing pedal information, second analog channel is used for transmission the simulation letter for representing gear information
Number.
Obviously, driver sometimes need adjust automobile gear when step on pedal, therefore, the pedal of automobile and
Gear is possible to be adjusted simultaneously.So in embodiments of the present invention, transmitting generation with two different analog channels respectively
The analog signal of table pedal information and the analog signal for representing gear information, to guarantee timeliness, the accuracy of signal transmitting.
Specifically, the analog signal for representing pedal information includes the first analog voltage signal, the second analog voltage letter
Number, first analog voltage signal corresponds to accelerator pedal, and second analog voltage signal corresponds to brake pedal.Similar,
The analog signal for representing gear information includes third analog voltage signal, the 4th analog voltage signal, the 5th analog voltage
Signal and the 6th analog voltage signal, the third analog voltage signal correspond to parking position switch, the 4th analog voltage signal pair
Reverse gear is answered, the 5th analog voltage signal corresponds to drive, and the 6th analog voltage signal corresponds to neutral gear.
It should be noted that when being transmitted in automobile due to analog signal, it is possible to by noise jamming, signal losses etc.
The influence of unfavorable condition causes the amplitude of analog signal that faint variation occurs.Then in order to guarantee that electric machine controller can sufficiently be rung
Analog signal is answered, faint variation is not occurred by its amplitude and is influenced, in embodiments of the present invention, each analog signal corresponds to a certain electricity
Pressure value range.I.e. for example, the range of the first analog voltage signal is V1To V2(V1< V2), then it is V that electric machine controller, which receives,1
To V2The analog signal of any amplitude in range is all the first analog voltage signal of corresponding accelerator pedal.
In general, entire car controller detects current pedal situation by analog interface, parses and currently whether step on
It is accelerator pedal or brake pedal that plate, which is operated, is operated,.If entire car controller detects that accelerator pedal is operated, root
According to the voltage magnitude that accelerator pedal exports, the angle change for calculating accelerator pedal and acceleration when being operated, according to certain
Control algolithm calculate current automobile and accelerate the torque changed required for motor, which is converted into the first analog voltage letter
Number it is sent to electric machine controller.Specifically, the size of torque and the size of the first analog voltage signal are in direct relation, or even can
Proportional.Such as torque it is bigger when, then the amplitude of the first analog voltage signal is closer to V2;Otherwise torque gets over hour,
Then the amplitude of the first analog voltage signal is closer to V1。
Second analog voltage signal is similar with the first analog voltage signal, and details are not described herein.
Wherein, if accelerator pedal and brake pedal are not all trampled by driver, do not have in the first analog channel
There is the transmitting of electric signal, i.e. entire car controller output is 0V.
Although in addition, third analog voltage signal to the 6th analog voltage signal represent be automobile a certain state,
It is, as it was noted above, in order to guarantee that electric machine controller can execute correctly movement to the analog signal that entire car controller issues,
Third analog voltage signal to the 6th analog voltage signal equally corresponds to a certain range of voltage values.
It should be noted that range of voltage values corresponding to the first analog voltage signal to the 6th analog voltage signal is mutually not
It is overlapping.
Further, as shown in Figure 1, the system further includes connecting the entire car controller and the failure of electric machine controller refers to
Enable channel.
Specifically, when the electric machine controller is not in analog signal transmission mode, it is meant that the automobile is total at this time
Line is to work normally.The entire car controller be also used to when detect bus failure when, by the failure instruction path to
The electric machine controller sends failure instruction;The electric machine controller is used to be instructed according to the failure, opens the simulation letter
Number transmission mode.
Wherein, entire car controller passes through the signal that issues to electric machine controller of bus, after the designated time (such as 1
Second), entire car controller does not receive feedback signal from electric machine controller, via bus, then entire car controller can be detected
Bus failure.
Further, the electric machine controller is also connected with cooling device.It is, in general, that cooling device is by entire car controller
By bus marco, but when the electric machine controller is in analog signal transmission mode, it is meant that bus fails at this time.This
When motor and the temperature of electric machine controller can not feed back to entire car controller, and then entire car controller also can not be according to motor and electricity
The temperature of machine controller drives cooling device.Therefore, when the electric machine controller is in analog signal transmission mode, the electricity
Machine controller is also used to drive the cooling device.Wherein, cooling device can be the common coolings such as cooling fan, cooling water pump
Device.
Embodiment two:
A kind of redundancy control method of automobile is present embodiments provided, as shown in Fig. 2, this method comprises:
Step S101, when electric machine controller is in analog signal transmission mode, gear that entire car controller will receive
Information or pedal information are converted to analog signal, and are sent to electric machine controller by corresponding analog channel.
Step S102, the described electric machine controller is according to the analog signal driving motor received.
Specifically, analog channel includes the first analog channel, the second analog channel, first analog channel is for transmitting
The analog signal of pedal information is represented, second analog channel is used for transmission the analog signal for representing gear information.
Further, the analog signal for representing pedal information includes the first analog voltage signal, the second analog voltage
Signal, first analog voltage signal correspond to accelerator pedal, and second analog voltage signal corresponds to brake pedal.
Further, the analog signal for representing gear information includes third analog voltage signal, the 4th analog voltage
Signal, the 5th analog voltage signal and the 6th analog voltage signal, the third analog voltage signal correspond to parking position switch, and described
Four analog voltage signals correspond to reverse gear, and the 5th analog voltage signal corresponds to drive, and the 6th analog voltage signal corresponds to neutral gear.
Further, as shown in figure 3, before step S101, this method further include:
Step S201, when the entire car controller detects bus failure, Xiang Suoshu electric machine controller sends failure and refers to
It enables.
Step S202, the described electric machine controller is instructed also according to the failure, opens the analog signal transmission mode.
Further, when the electric machine controller is in analog signal transmission mode, the electric machine controller is also used to
Drive cooling device.
While it is disclosed that embodiment content as above but described only to facilitate understanding the present invention and adopting
Embodiment is not intended to limit the invention.Any those skilled in the art to which this invention pertains are not departing from this
Under the premise of the disclosed spirit and scope of invention, any modification and change can be made in the implementing form and in details,
But scope of patent protection of the invention, still should be subject to the scope of the claims as defined in the appended claims.