CN116653621A - Relay drive control device, relay drive control method, relay drive control device, relay drive control apparatus, relay drive control program, storage medium, and vehicle - Google Patents

Relay drive control device, relay drive control method, relay drive control device, relay drive control apparatus, relay drive control program, storage medium, and vehicle Download PDF

Info

Publication number
CN116653621A
CN116653621A CN202310490105.9A CN202310490105A CN116653621A CN 116653621 A CN116653621 A CN 116653621A CN 202310490105 A CN202310490105 A CN 202310490105A CN 116653621 A CN116653621 A CN 116653621A
Authority
CN
China
Prior art keywords
control
relay
chip
signal
relay driving
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310490105.9A
Other languages
Chinese (zh)
Inventor
程娅
童斌
张学达
孔寒霜
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Deep Blue Automotive Technology Co ltd
Original Assignee
Deep Blue Automotive Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Deep Blue Automotive Technology Co ltd filed Critical Deep Blue Automotive Technology Co ltd
Priority to CN202310490105.9A priority Critical patent/CN116653621A/en
Publication of CN116653621A publication Critical patent/CN116653621A/en
Pending legal-status Critical Current

Links

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60LPROPULSION OF ELECTRICALLY-PROPELLED VEHICLES; SUPPLYING ELECTRIC POWER FOR AUXILIARY EQUIPMENT OF ELECTRICALLY-PROPELLED VEHICLES; ELECTRODYNAMIC BRAKE SYSTEMS FOR VEHICLES IN GENERAL; MAGNETIC SUSPENSION OR LEVITATION FOR VEHICLES; MONITORING OPERATING VARIABLES OF ELECTRICALLY-PROPELLED VEHICLES; ELECTRIC SAFETY DEVICES FOR ELECTRICALLY-PROPELLED VEHICLES
    • B60L15/00Methods, circuits, or devices for controlling the traction-motor speed of electrically-propelled vehicles
    • B60L15/10Methods, circuits, or devices for controlling the traction-motor speed of electrically-propelled vehicles for automatic control superimposed on human control to limit the acceleration of the vehicle, e.g. to prevent excessive motor current
    • B60L15/12Methods, circuits, or devices for controlling the traction-motor speed of electrically-propelled vehicles for automatic control superimposed on human control to limit the acceleration of the vehicle, e.g. to prevent excessive motor current with circuits controlled by relays or contactors
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60RVEHICLES, VEHICLE FITTINGS, OR VEHICLE PARTS, NOT OTHERWISE PROVIDED FOR
    • B60R16/00Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for
    • B60R16/02Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for electric constitutive elements
    • B60R16/023Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for electric constitutive elements for transmission of signals between vehicle parts or subsystems
    • B60R16/0231Circuits relating to the driving or the functioning of the vehicle
    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05KPRINTED CIRCUITS; CASINGS OR CONSTRUCTIONAL DETAILS OF ELECTRIC APPARATUS; MANUFACTURE OF ASSEMBLAGES OF ELECTRICAL COMPONENTS
    • H05K5/00Casings, cabinets or drawers for electric apparatus
    • H05K5/0026Casings, cabinets or drawers for electric apparatus provided with connectors and printed circuit boards [PCB], e.g. automotive electronic control units

Landscapes

  • Engineering & Computer Science (AREA)
  • Mechanical Engineering (AREA)
  • Power Engineering (AREA)
  • Transportation (AREA)
  • Automation & Control Theory (AREA)
  • Microelectronics & Electronic Packaging (AREA)
  • Control By Computers (AREA)
  • Combined Controls Of Internal Combustion Engines (AREA)

Abstract

The application provides a relay driving control device, a method, equipment, a storage medium and a vehicle, wherein the device comprises: the first connector is connected with the vehicle domain controller and is used for receiving control information sent by the vehicle domain controller; the controller local area network chip is connected with the first connector and is used for carrying out signal conversion on the control information to generate a control signal to be processed; the communication chip is connected with the controller local area network chip and is used for performing type conversion processing on the control signal to be processed to obtain a target control signal; the relay driving chip is connected with the communication chip and is used for analyzing control information of the target control signal to obtain a control instruction; and the second connector is connected with at least one relay driving chip and is used for transmitting a control instruction to the relay to control the relay to be opened or closed. And a single communication chip of the multiple communication channels is communicated with a plurality of relay driving chips to control the relays, so that the integration level and the compatibility are higher, and the control cost is lower.

Description

Relay drive control device, relay drive control method, relay drive control device, relay drive control apparatus, relay drive control program, storage medium, and vehicle
Technical Field
The application relates to the technical field of relay driving, and more particularly, to a relay drive control apparatus, method, device, storage medium, and vehicle.
Background
Along with the development of new energy automobile technology, the whole automobile electronic control unit is gradually converted into a central integrated layout from a traditional distributed layout, wherein a BATTERY management system is optimized and integrated in a traditional BCU (Battery Control Unit, BATTERY main control unit) and BMU (Battery Measurement Unit, BATTERY sampling unit) mode, a highly integrated BMS (BATTERY MANAGEMENT SYSTEM ) is implemented, a high-voltage loop of an internal power BATTERY pack of the electric automobile is controlled by a relay, and a controller is conducted by adopting a certain voltage driving coil, so that the relay is controlled.
In the related art, the driving of the relay is mainly controlled by the central processing unit. Chinese patent CN110171371B discloses a driving controller, a driving control system and an automobile, in which, by separating the driving controller from an external controller, and adopting a discrete device to form a driving unit of the driving controller, and acquiring a preset diagnostic signal, the external controller can not pay attention to aspects such as driving current and diagnostic information, but only receive a result after providing an output signal, and the external controller can be released from the aspect of hardware. However, the driving unit and the central processing unit are both arranged on the driving control board assembly, the relay driving is controlled by the central processing unit, when the number of the relay driving is large, the central processing unit needs to be additionally provided with a plurality of input/output (I/O) ports for controlling, and for the type selection of the central processing unit, the integration level and the compatibility are weak, and the cost of the relay driving control is increased.
Disclosure of Invention
The following presents a simplified summary in order to provide a basic understanding of some aspects of the disclosed embodiments. This summary is not an extensive overview, and is intended to neither identify key/critical elements nor delineate the scope of such embodiments, but is intended as a prelude to the more detailed description that follows.
In view of the above-mentioned drawbacks of the prior art, the present application discloses a relay driving control device, a method, a device, a storage medium and a vehicle, which are used for solving the technical problems of weak integration level and compatibility of controller driving control and high control cost in the related art.
In a first aspect, the present application provides a relay control device, the device comprising: the controller comprises a first connector, a controller area network chip, a communication chip, at least one relay driving chip and a second connector; the first connector is connected with the vehicle domain controller and is used for receiving control information sent by the vehicle domain controller, wherein the control information carries a control instruction for controlling the relay to be opened or closed; the controller local area network chip is connected with the first connector and is used for carrying out signal conversion on the control information to generate a control signal to be processed; the communication chip is connected with the controller local area network chip and is used for performing type conversion processing on the control signal to be processed to obtain a target control signal; the relay driving chip is connected with the communication chip and is used for analyzing the control information of the target control signal to obtain the control instruction; the second connector is connected with at least one relay driving chip and is used for transmitting the control instruction to the relay so as to control the opening or closing of the relay.
In an embodiment of the present application, the controller area network chip includes: a control information receiving unit configured to receive the control information transmitted by the first connector; a control information conversion unit, configured to convert the control information into the to-be-processed control signal in the communication signal format based on a communication signal of a controller area network bus; and the control information transmission unit is used for transmitting the control signal to the communication chip.
In an embodiment of the present application, the communication chip includes: the to-be-processed control signal receiving unit is used for receiving the to-be-processed control signal transmitted by the controller local area network chip; the to-be-processed control signal processing unit is used for converting the to-be-processed control signal based on the port type of the relay driving chip to generate a target control signal; and the target control signal transmission unit is used for transmitting the target control signal to the relay driving chip, wherein the target control signal transmission unit is a multi-channel transmission link and supports a plurality of relay driving chips.
In an embodiment of the present application, the relay driving chip further includes: the monitoring unit is used for monitoring the working state of the relay through the second connection controller; and the fault signal generating unit is used for responding to the abnormal state information when the working state is the abnormal state, generating a fault signal and transmitting the fault signal to the communication chip, wherein the fault signal carries the abnormal state information.
In an embodiment of the present application, the communication chip further includes: the fault signal receiving unit is used for receiving the fault signal and reading the abnormal state information in the fault signal; the diagnosis request generation unit is used for sorting abnormal data based on the abnormal state information and generating a fault diagnosis request; and the fault diagnosis request transmission unit is used for transmitting the fault diagnosis request to the vehicle domain controller through the controller local area network chip and the first controller in sequence so that the vehicle domain controller analyzes the fault diagnosis request and diagnoses and repairs the relay.
In an embodiment of the present application, the device further includes a power conversion chip, the power conversion chip is connected to the first connector, the controller area network chip and the communication chip, respectively, and the power conversion chip includes: the voltage acquisition unit is used for acquiring a first voltage from a storage battery of the vehicle through the first connector, wherein the first voltage is 12V, and the first connector is connected with the relay driving chip and transmits the first voltage to the relay driving chip; the voltage conversion unit is used for carrying out low-voltage conversion treatment on the first voltage and outputting a second voltage, and the second voltage is 5V; and the voltage transmission unit is used for transmitting the second voltage to the controller area network chip and the communication chip based on the connection with the controller area network chip and the communication chip.
In a second aspect, the present application provides a relay drive control method, the method comprising: receiving control information sent by a vehicle domain controller, wherein the control information carries a control instruction for controlling the relay to be opened or closed; performing signal conversion on the control information to generate a control signal to be processed; performing type conversion processing on the control signal to be processed to obtain a target control signal; analyzing the control information of the target control signal to obtain the control instruction; and transmitting the control instruction to the relay so as to control the opening or closing of the relay.
In a third aspect, the present application provides a vehicle apparatus comprising the relay drive control device according to claims 1 to 6, or using the relay drive control method according to claim 7.
In a fourth aspect, the present application provides an electronic device, comprising: one or more processors; and a storage means for storing one or more programs which, when executed by the one or more processors, cause the electronic device to implement the method of the second aspect of describing relay drive control.
In a fifth aspect, the present application provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor of a computer, causes the computer to perform the relay drive control method described in the second aspect.
As described above, the relay driving control device, method, device, storage medium and vehicle provided by the embodiment of the application have the following beneficial effects:
the control information sent by the vehicle domain controller sequentially passes through the first connector and the controller local network chip to form control signals and transmits the control signals to the communication chip, wherein the communication chip can be connected with at least one relay driving chip, when the vehicle domain controller sends a plurality of control signals, the communication chip can realize simultaneous or independent control on the corresponding relay driving chips through a plurality of communication ports, the communication ports can be shared by the relay driving chips, different relay driving chips can be selected through the control signals, independent time-sharing control of the relays can be realized through the second connector, when the relay driving number is more, the integration level and compatibility of the relay driving control are higher, meanwhile, the operation of one communication chip for controlling the plurality of relay driving chips is realized, the chip number is reduced, and the cost of the relay driving control is reduced.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the application as claimed.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the application and together with the description, serve to explain the principles of the application. It is evident that the drawings in the following description are only some embodiments of the present application and that other drawings may be obtained from these drawings without inventive effort for a person of ordinary skill in the art. In the drawings:
FIG. 1 is a schematic view of an implementation environment of a relay drive control apparatus according to an exemplary embodiment of the present application;
fig. 2 is a flowchart of a relay driving control apparatus according to an exemplary embodiment of the present application;
FIG. 3 is a schematic diagram of a single relay driver chip control, according to an exemplary embodiment of the present application;
FIG. 4 is a schematic diagram of a dual relay driver chip control shown in accordance with an exemplary embodiment of the present application;
fig. 5 is a flowchart illustrating a relay driving control method according to an exemplary embodiment of the present application;
fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
Further advantages and effects of the present application will become readily apparent to those skilled in the art from the disclosure herein, by referring to the accompanying drawings and the preferred embodiments. The application may be practiced or carried out in other embodiments that depart from the specific details, and the details of the present description may be modified or varied from the spirit and scope of the present application. It should be understood that the preferred embodiments are presented by way of illustration only and not by way of limitation.
It should be noted that the illustrations provided in the following embodiments merely illustrate the basic concept of the present application by way of illustration, and only the components related to the present application are shown in the drawings and are not drawn according to the number, shape and size of the components in actual implementation, and the form, number and proportion of the components in actual implementation may be arbitrarily changed, and the layout of the components may be more complicated.
In the following description, numerous details are set forth in order to provide a more thorough explanation of embodiments of the present application, it will be apparent, however, to one skilled in the art that embodiments of the present application may be practiced without these specific details, in other embodiments, well-known structures and devices are shown in block diagram form, rather than in detail, in order to avoid obscuring the embodiments of the present application.
Firstly, it should be noted that the high-voltage loop is usually controlled by a relay, and the relay is installed in the connection process of the circuit, so that the control range of the relay can be enlarged, and when the circuit is complex or in the design process of the integrated circuit, the high-voltage relay is usually used, and because of the characteristic of strong sensitivity of the high-voltage relay, the remote control and monitoring can also be automatically performed. The high-voltage loop of the power battery pack in the electric automobile is also controlled by a relay, and the power line of the controller in the automobile is communicated or disconnected by the relay, so that the condition of wire burning when a common switch is used for controlling larger current is avoided, and the safety of the controller and the motor is protected.
The driving of the relay is mainly controlled by the central processing unit, but when the driving number of the relay is large, the central processing unit needs to be increased with a plurality of I/O ports to control the driving of the relay, and for the type selection of the central processing unit, the integration level and the compatibility are weak, and the cost of the driving control of the relay is increased.
Thus, referring to fig. 1, fig. 1 is a schematic view of an implementation environment of a relay driving control device according to an exemplary embodiment of the present application. As shown in fig. 1, the control device is embedded in a vehicle and is used for realizing relay driving control, and the control device includes, but is not limited to, a vehicle system, a vehicle-mounted computer and the like, and when the vehicle domain controller sends a plurality of control signals, the communication chip can realize simultaneous or independent control over a plurality of corresponding relay driving chips through a plurality of communication ports, and can also realize independent time-sharing control of the relays by selecting different relay driving chips through the control signals through sharing the communication ports by the plurality of relay driving chips. The integration level and compatibility of the relay driving control are high, the operation of controlling a plurality of relay driving chips by one communication chip is realized, the number of chips is reduced, and the cost of the relay driving control is reduced.
Referring to fig. 2, fig. 2 is a block diagram of a relay driving control apparatus 200 according to an exemplary embodiment of the present application. The device can be applied to the implementation environment shown in fig. 1 and is specifically executed by the association analysis module in the implementation environment. It should be understood that the apparatus may be adapted for other exemplary implementation environments and be specifically implemented by devices in other implementation environments, and the embodiment is not limited to the implementation environments in which the method is adapted.
As shown in fig. 2, in an exemplary embodiment, the relay driving control apparatus 200 includes at least a first connector 210, a controller area network chip 220, a communication chip 230, at least one relay driving chip 240, and a second connector 250, which will be described in detail as follows:
the first connector 210 is connected to the vehicle domain controller and is configured to receive control information sent by the vehicle domain controller.
The control information carries a control instruction for controlling the relay to be opened or closed. When the vehicle domain controller controls each function of the vehicle, the power line of the vehicle domain controller is connected or disconnected through the relay, and at the moment, the control device of the vehicle domain controller sends control information driven by the relay, wherein the control information comprises a control instruction, and the control instruction can be one or a plurality of control instructions. When the domain controller controls the vehicle to realize each function, the domain controller may only involve driving control of one relay, or may involve driving control of a plurality of relays, that is, when the number of driving relays is large, the control command may be a plurality of control commands to realize driving control of different relays.
The controller area network chip 220 is connected to the first connector 210, and is configured to perform signal conversion on the control information to generate a control signal to be processed.
Specifically, the controller area network chip 220 includes: a control information receiving unit 221 for receiving control information transmitted by the first connector; a control information converting unit 222, configured to convert control information into a to-be-processed control signal in a communication signal format based on a communication signal of the controller area network bus; a control information transmission unit 223 for transmitting a control signal to the communication chip.
The first connector is used for realizing communication connection between an external controller and a controller area network (Controller Area Network, CAN) chip of the battery management system, and because the CAN chip and the communication chip are in data transmission through CAN signals, the CAN chip CAN perform signal conversion on the control information after receiving the control information to obtain a to-be-processed control signal in a CAN signal format, and then the to-be-processed control signal is transmitted to the communication chip, so that the control information CAN be smoothly transmitted to the communication chip.
The communication chip 230 is connected to the controller area network chip 220, and is configured to perform type conversion processing on the control signal to be processed, so as to obtain a target control signal.
Specifically, the communication chip 230 includes: a to-be-processed control signal receiving unit 231, configured to receive a to-be-processed control signal transmitted by the controller area network chip; the to-be-processed control signal processing unit 232 is configured to perform conversion processing on the to-be-processed control signal based on the port type of the relay driving chip, and generate a target control signal; and a target control signal transmission unit 233 for transmitting a target control signal to the relay driving chips, wherein the target control signal transmission unit 233 is a multi-channel transmission link supporting a plurality of relay driving chips.
It should be noted that, the communication chip has more than two SPI (Serial Peripheral Interface ) ports, so the target control signal transmission unit in the communication chip is a multi-channel transmission link, so as to connect and communicate with a plurality of relay driving chips when the number of relay driving is plural. Considering that the communication interfaces of the relay driving chips are different from the SPI interfaces, the communication chips can analyze the relay driving chips corresponding to the control instructions based on the received control signals and the control instructions in the control signals, then call the port types of the relay driving chips, and perform conversion processing on the control signals to be processed, which need to be converted, so as to obtain target control signals, thereby meeting the communication with the relay driving chips. In addition, when the relay driving chips are more than two, each relay driving chip can perform communication cascade connection.
In one embodiment, the relay driving chip 230 further includes: a monitoring unit 234 for monitoring the working state of the relay through the second connection controller; and the fault signal generating unit 235 is configured to generate a fault signal in response to the abnormal state information when the working state is the abnormal state, and transmit the fault signal to the communication chip, where the fault signal carries the abnormal state information.
Various faults, such as coil blowing, turn-to-turn short circuit, contact burning, thermal decay and the like, may occur in the process of controlling the connection or disconnection of the power line of the controller in the vehicle, so that the relay driving control is realized through the control signal transmission among the first connector, the CAN chip, the communication chip, the relay driving chip and the second connector, and meanwhile, the transmission of reverse signals, such as fault signals of the relay, from the second connector, the relay driving chip, the communication chip and the CAN chip to the first connector CAN also be realized, so that the vehicle domain controller CAN diagnose and repair the fault of the relay, and the second connector needs to be described. The relay driving chip can monitor the working state of the relay in real time through the second connector, judges the normal abnormality of the current working state, and generates fault information based on the abnormal state information of the relay when the relay driving chip is abnormal, wherein the abnormal state information at least can comprise a relay number, a relay abnormal code and the like, so that the vehicle domain controller can perform fault positioning, and the positioning is accurate.
In this embodiment, when the communication port of the relay driving chip is different from the SPI port of the communication chip, the relay driving chip also converts the fault signal based on the SPI port, so that the fault signal can be smoothly transmitted to the communication chip.
In one embodiment, the communication chip 220 further includes: a fault signal receiving unit 224, configured to receive a fault signal and read abnormal state information in the fault signal; a diagnosis request generation unit 225 for sorting the abnormal data based on the abnormal state information, and generating a fault diagnosis request; the fault diagnosis request transmission unit 226 is configured to transmit a fault diagnosis request to the vehicle domain controller sequentially through the controller area network chip and the first controller, so that the vehicle domain controller analyzes the fault diagnosis request, and diagnoses and repairs the relay.
After receiving the fault signal, the communication chip reads the abnormal state information in the fault signal, carries out data arrangement on the abnormal state information to generate a fault diagnosis request of the relay, and the request is transmitted to the vehicle domain controller through the CAN chip and the first connector in sequence, so that the vehicle domain controller analyzes the abnormal state information in the fault diagnosis request, carries out fault positioning according to the information such as the number of the relay, the abnormal coding of the relay and the like, provides a repairing strategy to repair the relay, ensures the normal work of the relay and ensures the safety of the controller and the motor in the vehicle.
And the relay driving chip 240 is connected with the communication chip and is used for analyzing the control information of the target control signal to obtain a control instruction.
After the relay driving chip receives the target control signal transmitted by the communication chip, the target control signal is analyzed to obtain a control instruction, and specific control on the relay driving is judged based on the control instruction, including the opening or closing of the relay driving, so that the communication or disconnection of a power line of a controller in a vehicle is realized.
The second connector 250 is connected with the at least one relay driving chip 240 and is used for transmitting a control command to the relay to control the opening or closing of the relay.
The hard wire connection between the relay driving chip and the external relay is realized through the second connector, and the relay driving chip transmits a control instruction to the corresponding relay through the second connector so as to control the opening or closing of the relay driving, namely the opening or closing of the relay.
In an embodiment, the relay driving control device 200 further includes a power conversion chip 260, which is connected to the first connector, the controller area network chip and the communication chip, respectively, and includes: the voltage acquisition unit is used for acquiring a first voltage from a storage battery of the vehicle through a first connector, wherein the first voltage is 12V voltage, and the first connector is connected with the relay driving chip and transmits the first voltage to the relay driving chip; the voltage conversion unit is used for carrying out low-voltage conversion treatment on the first voltage and outputting a second voltage, and the second voltage is 5V; and the voltage transmission unit is used for transmitting a second voltage to the controller area network chip and the communication chip based on the connection with the controller area network chip and the communication chip.
In this embodiment, the vehicle storage battery is connected with the first connector, and the power conversion chip is connected with the vehicle storage battery through the first connector, can carry out low voltage processing with the 12V voltage of storage battery output, converts into 5V voltage. The relay driving chip CAN obtain 12V voltage based on connection with the first connector, and the CAN chip and the communication chip CAN obtain 5V voltage based on connection with the power conversion chip, so that power supply requirements of the chips are met.
Referring to fig. 3, fig. 3 is a schematic diagram illustrating a single relay driving chip control according to an exemplary embodiment of the present application. As shown in fig. 3, in the case of a single relay driving chip, the first connector (i.e., the connector 1) CAN be connected with an external vehicle domain controller and a vehicle battery, and the connector 1, the CAN chip, the communication chip, the relay driving chip and the connector 2 are sequentially connected, and finally, a control instruction is transmitted to the external relay to realize relay driving control. The CAN_H refers to high voltage of a network cable, the CAN_L refers to low voltage of the network cable, voltage signals of the CAN_L and the CAN_H are different, and are high-level data lines and low-level data lines which are twisted together as part of a vehicle body network transmission mode, so that a CAN bus is insensitive to electromagnetic interference; R/TXD means that the CAN chip and the communication chip CAN be a receiving end and a transmitting end, and receive data (RXD) and transmit data (TXD) CAN be mutually used; GPIO (General-purpose input/output) with PINs for the user to use freely by program control, and PIN PINs as General-purpose input (GPI) or General-purpose output (GPO) or General-purpose input and output (GPIO). In the schematic diagram, reverse transmission of relay fault signals CAN be realized based on the connector 2, the relay driving chip, the communication chip, the CAN chip and the connector 1, so that repair of relay faults is realized. In the schematic diagram, the device also comprises a power conversion chip, such as an LDO (low dropout linear regulator), which is connected with the connector 1 and CAN convert the 12V voltage output by the vehicle battery to output 5V voltage, and provide 5V voltage for the CAN chip and the communication chip, wherein the voltage of the relay driving chip is directly the battery output voltage of 12V, and PWR12V in the figure represents the power supply 12V.
Referring to fig. 4, fig. 4 is a schematic diagram illustrating a dual relay driving chip control according to an exemplary embodiment of the present application. As shown in fig. 4. In the case of a dual-relay driving chip, the difference between the dual-relay driving chip and the single-relay driving chip is that the two relay driving chips are respectively a relay driving chip 1 and a relay driving chip 2, and when two control signals are handled, and when one relay driving chip cannot meet the driving requirement, the driving control of the two relays is performed through the two relay driving chips. The two relay driving chips can be in communication cascade connection to realize one-to-two control, and can realize simultaneous or independent control of the two relays through the communication ports without sharing, and can also realize independent time-sharing control of the two relays through sharing the communication ports by selecting different relay driving chips through the communication chips. The case of the multi-relay driving chip is the same as the case of the dual-relay driving chip, and the description thereof is omitted.
In addition, in the schematic diagrams provided in fig. 3 and fig. 4, the communication chip may further perform total voltage detection on the total voltage of the battery, and by detecting the total voltage, the SOC (State of Charge) State of the current battery pack may be diagnosed, and meanwhile, by comparing the total voltage of the front end and the rear end of the relay, the quality of the relay may be diagnosed, so that the accuracy of the total voltage detection of the battery is ensured, and meanwhile, the reliability of the total voltage detection circuit of the battery is ensured.
According to the relay driving control device provided by the embodiment, the control information sent by the vehicle domain controller sequentially passes through the first connector and the controller local network chip to form the control signal and transmit the control signal to the communication chip, wherein the communication chip can be connected with at least one relay driving chip, when the vehicle domain controller sends a plurality of control signals, the communication chip can realize simultaneous or independent control on a plurality of corresponding relay driving chips through a plurality of communication ports, the communication ports can also be shared by the plurality of relay driving chips, different relay driving chips are selected through the control signals, independent time-sharing control of the relay is realized through the second connector, when the relay driving number is more, the integration level and compatibility of relay driving control are higher, meanwhile, the operation of one communication chip for controlling the plurality of relay driving chips is realized, the chip number is reduced, and the cost of relay driving control is reduced.
Referring to fig. 5, fig. 5 is a flowchart illustrating a relay driving control method according to an exemplary embodiment of the present application. The method can be applied to the implementation environment shown in fig. 1, and is specifically executed by the association analysis module in the implementation environment. It should be understood that the method may be adapted to other exemplary implementation environments and be specifically executed by devices in other implementation environments, and the implementation environments to which the method is adapted are not limited by the present embodiment.
As shown in fig. 5, in an exemplary embodiment, the relay driving control method at least includes steps S510 to S550, which are described in detail as follows:
step S510, receiving control information sent by a vehicle domain controller, wherein the control information carries a control instruction for controlling the relay to be opened or closed;
step S520, signal conversion is carried out on the control information to generate a control signal to be processed;
step S530, performing type conversion processing on the control signal to be processed to obtain a target control signal;
step S540, analyzing control information of the target control signal to obtain a control instruction;
in step S550, a control command is transmitted to the relay to control the on or off of the relay.
It should be noted that, the relay driving control method provided in the above embodiment and the relay driving control device provided in the above embodiment belong to the same concept, and the specific manner in which each step performs the operation has been described in detail in the device embodiment, which is not repeated here.
In an exemplary embodiment, an embodiment of the present application also provides a vehicle apparatus including the relay drive control apparatus provided in the above embodiment, or using the relay drive control method provided in the above embodiment.
Referring to fig. 6, fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the application. Fig. 6 shows a schematic diagram of a computer system suitable for use in implementing an embodiment of the application. It should be noted that, the computer system 600 of the electronic device shown in fig. 6 is only an example, and should not impose any limitation on the functions and the application scope of the embodiments of the present application.
As shown in fig. 6, the computer system 600 includes a central processing unit (Central Processing Unit, CPU) 601, which can perform various appropriate actions and processes, such as performing the methods in the above-described embodiments, according to a program stored in a Read-Only Memory (ROM) 602 or a program loaded from a storage section 608 into a random access Memory (Random Access Memory, RAM) 603. In the RAM603, various programs and data required for system operation are also stored. The CPU601, ROM 602, and RAM603 are connected to each other through a bus 604. An Input/Output (I/O) interface 605 is also connected to bus 604.
The following components are connected to the I/O interface 605: an input portion 606 including a keyboard, mouse, etc.; an output portion 607 including a Cathode Ray Tube (CRT), a liquid crystal display (Liquid Crystal Display, LCD), and a speaker, etc.; a storage section 608 including a hard disk and the like; and a communication section 609 including a network interface card such as a LAN (Local Area Network ) card, a modem, or the like. The communication section 609 performs communication processing via a network such as the internet. The drive 610 is also connected to the I/O interface 605 as needed. Removable media 611 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is installed as needed on drive 610 so that a computer program read therefrom is installed as needed into storage section 608.
In particular, according to embodiments of the present application, the processes described above with reference to flowcharts may be implemented as computer software programs. For example, embodiments of the present application include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising a computer program for performing the method shown in the flowchart. In such an embodiment, the computer program may be downloaded and installed from a network through the communication portion 609, and/or installed from the removable medium 611. When executed by a Central Processing Unit (CPU) 601, performs the various functions defined in the system of the present application.
It should be noted that, the computer readable medium shown in the embodiments of the present application may be a computer readable signal medium or a computer readable storage medium, or any combination of the two. The computer readable storage medium may be, for example, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of the computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-Only Memory (ROM), an erasable programmable read-Only Memory (Erasable Programmable Read Only Memory, EPROM), flash Memory, an optical fiber, a portable compact disc read-Only Memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present application, a computer-readable signal medium may comprise a data signal propagated in baseband or as part of a carrier wave, with a computer-readable computer program embodied therein. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. A computer program embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wired, etc., or any suitable combination of the foregoing.
The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present application. Where each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units involved in the embodiments of the present application may be implemented by software, or may be implemented by hardware, and the described units may also be provided in a processor. Wherein the names of the units do not constitute a limitation of the units themselves in some cases.
The present application also provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor of a computer, causes the computer to execute the relay drive control method as described above. The computer-readable storage medium may be included in the electronic device described in the above embodiment or may exist alone without being incorporated in the electronic device.
The above embodiments are merely illustrative of the principles of the present application and its effectiveness, and are not intended to limit the application. Modifications and variations may be made to the above-described embodiments by those skilled in the art without departing from the spirit and scope of the application. It is therefore intended that all equivalent modifications and changes made by those skilled in the art without departing from the spirit and technical spirit of the present application shall be covered by the appended claims.

Claims (10)

1. A relay drive control apparatus, characterized by comprising: the controller comprises a first connector, a controller area network chip, a communication chip, at least one relay driving chip and a second connector;
the first connector is connected with the vehicle domain controller and is used for receiving control information sent by the vehicle domain controller, wherein the control information carries a control instruction for controlling the relay to be opened or closed;
the controller local area network chip is connected with the first connector and is used for carrying out signal conversion on the control information to generate a control signal to be processed;
the communication chip is connected with the controller local area network chip and is used for performing type conversion processing on the control signal to be processed to obtain a target control signal;
the relay driving chip is connected with the communication chip and is used for analyzing the control information of the target control signal to obtain the control instruction;
the second connector is connected with at least one relay driving chip and is used for transmitting the control instruction to the relay so as to control the opening or closing of the relay.
2. The relay driving control device according to claim 1, wherein the controller area network chip includes:
a control information receiving unit configured to receive the control information transmitted by the first connector;
a control information conversion unit, configured to convert the control information into the to-be-processed control signal in the communication signal format based on a communication signal of a controller area network bus;
and the control information transmission unit is used for transmitting the control signal to the communication chip.
3. The relay driving control device according to claim 1, wherein the communication chip includes:
the to-be-processed control signal receiving unit is used for receiving the to-be-processed control signal transmitted by the controller local area network chip;
the to-be-processed control signal processing unit is used for converting the to-be-processed control signal based on the port type of the relay driving chip to generate a target control signal;
and the target control signal transmission unit is used for transmitting the target control signal to the relay driving chip, wherein the target control signal transmission unit is a multi-channel transmission link and supports a plurality of relay driving chips.
4. The relay driving control device according to claim 1, wherein the relay driving chip further comprises:
the monitoring unit is used for monitoring the working state of the relay through the second connection controller;
and the fault signal generating unit is used for responding to the abnormal state information when the working state is the abnormal state, generating a fault signal and transmitting the fault signal to the communication chip, wherein the fault signal carries the abnormal state information.
5. The relay driving control device according to claim 4, wherein the communication chip further comprises:
the fault signal receiving unit is used for receiving the fault signal and reading the abnormal state information in the fault signal;
the diagnosis request generation unit is used for sorting abnormal data based on the abnormal state information and generating a fault diagnosis request;
and the fault diagnosis request transmission unit is used for transmitting the fault diagnosis request to the vehicle domain controller through the controller local area network chip and the first controller in sequence so that the vehicle domain controller analyzes the fault diagnosis request and diagnoses and repairs the relay.
6. The relay driving control device according to any one of claims 1 to 5, further comprising a power conversion chip connected to the first connector, the controller area network chip, and the communication chip, respectively, the power conversion chip comprising:
the voltage acquisition unit is used for acquiring a first voltage from a storage battery of the vehicle through the first connector, wherein the first voltage is 12V, and the first connector is connected with the relay driving chip and transmits the first voltage to the relay driving chip;
the voltage conversion unit is used for carrying out low-voltage conversion treatment on the first voltage and outputting a second voltage, and the second voltage is 5V;
and the voltage transmission unit is used for transmitting the second voltage to the controller area network chip and the communication chip based on the connection with the controller area network chip and the communication chip.
7. A relay driving control method, characterized by comprising:
receiving control information sent by a vehicle domain controller, wherein the control information carries a control instruction for controlling the relay to be opened or closed;
performing signal conversion on the control information to generate a control signal to be processed;
performing type conversion processing on the control signal to be processed to obtain a target control signal;
analyzing the control information of the target control signal to obtain the control instruction;
and transmitting the control instruction to the relay so as to control the opening or closing of the relay.
8. A vehicular apparatus characterized by comprising the relay drive control apparatus according to claims 1 to 6, or using the relay drive control method according to claim 7.
9. An electronic device, comprising:
one or more processors;
storage means for storing one or more programs that, when executed by the one or more processors, cause the electronic device to implement the relay drive control method of claim 7.
10. A computer-readable storage medium having stored thereon computer-readable instructions which, when executed by a processor of a computer, cause the computer to perform the relay drive control method of claim 7.
CN202310490105.9A 2023-05-04 2023-05-04 Relay drive control device, relay drive control method, relay drive control device, relay drive control apparatus, relay drive control program, storage medium, and vehicle Pending CN116653621A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310490105.9A CN116653621A (en) 2023-05-04 2023-05-04 Relay drive control device, relay drive control method, relay drive control device, relay drive control apparatus, relay drive control program, storage medium, and vehicle

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310490105.9A CN116653621A (en) 2023-05-04 2023-05-04 Relay drive control device, relay drive control method, relay drive control device, relay drive control apparatus, relay drive control program, storage medium, and vehicle

Publications (1)

Publication Number Publication Date
CN116653621A true CN116653621A (en) 2023-08-29

Family

ID=87716172

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310490105.9A Pending CN116653621A (en) 2023-05-04 2023-05-04 Relay drive control device, relay drive control method, relay drive control device, relay drive control apparatus, relay drive control program, storage medium, and vehicle

Country Status (1)

Country Link
CN (1) CN116653621A (en)

Similar Documents

Publication Publication Date Title
KR101230902B1 (en) System for evaluating electronic parts using vehicle simulator
CN111007840A (en) Whole vehicle controller hardware-in-loop test platform and method
US20200079238A1 (en) Vehicle condition monitoring and diagnosis method and system using charger
CN110233768B (en) UDS-based CAN bus test system and CAN bus test method
CN108594792B (en) Hardware-in-loop test system and test equipment for bidirectional vehicle-mounted charger
CN207516795U (en) A kind of automobile bus switching and the switching circuit of communication line
US20080071440A1 (en) Method and System of Power Management for a Vehicle Communication Interface
CN102929274B (en) In-vehicle networking ground skewed redundant test macro, method and apparatus
CN102779089B (en) Automobile ECU key Simulation Methods and system thereof and verification method
KR101209069B1 (en) Debuggging Apparatus For CAN Communication Diagnosis Device
US10024923B2 (en) Device and method for interfacing a vehicle-external testing device to a battery removed from a vehicle
WO2022267828A1 (en) Connector of storage battery and detection system and method for storage battery
CN110928275B (en) Multi-controller combined HIL (high-level hierarchical level) rack message frame loss fault injection test system and method
CN214096607U (en) Integrated test bench for three-electric-system of pure electric vehicle
CN117744374A (en) ChaoJi charging simulation test system and method
JPH05240741A (en) Apparatus for collecting diagnostic data of a plurality of electronic units of vehicle
CN116653621A (en) Relay drive control device, relay drive control method, relay drive control device, relay drive control apparatus, relay drive control program, storage medium, and vehicle
JPH11316177A (en) Fault diagnostic device for vehicle
CN214504212U (en) K-line fault diagnosis testing device of air suspension electronic control module
CN214851308U (en) Vehicle-mounted equipment test system
CN111968354A (en) Automatic debugging system of fire alarm system of motor train unit
US20220180674A1 (en) Method and Apparatus for Determining Virtual Fault Code of Vehicle Controller
CN216748792U (en) Testing device of loan-eliminating management system
CN218823199U (en) AEB road test device and vehicle
CN211401680U (en) Electronic throttle fault diagnosis device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination