Chassis electronic control system, method and equipment and storage medium
Through the communication architecture between the main MCU module and the auxiliary MCU module, the problems of high hardware cost and difficult maintenance of traditional chassis electronic control systems are solved, and more efficient communication and management are achieved, reducing costs and improving system reliability.
Patent Information
- Application Number
- CN202411309748.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-19
- Publication Date
- 2024-12-03
AI Technical Summary
Traditional chassis electronic control systems have high hardware costs due to multiple independent and single-function control units, and their communications are not efficient and flexible enough, which affects performance and response speed, and is difficult to maintain, which increases costs.
Adopt the communication architecture between the main MCU module and the auxiliary MCU module. The main MCU module obtains control instructions and sends them to the auxiliary MCU module. The auxiliary MCU module performs electronic chassis control and generates feedback response. The entire system is managed through the main MCU module, and only one Ports communicate with externals, reducing hardware costs and improving communication reliability.
It reduces development and maintenance costs, improves communication reliability and system management convenience, saves labor costs, and simplifies the maintenance of later programs.
Smart Images

Figure CN119058565A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of chassis electronic control, and in particular to a chassis electronic control system, method, device and storage medium. Background Art
[0002] In the process of continuous development of the automobile industry, the importance of chassis electronic control technology has become increasingly prominent. As a key component of a vehicle, the chassis directly affects the vehicle's driving performance, stability, comfort and safety.
[0003] In the field of automotive chassis electronic control, traditional chassis electronic control systems usually adopt a relatively complex architecture, including multiple independent control units with relatively single functions. This not only leads to high hardware costs, but also faces many challenges in system integration and maintenance.
[0004] In traditional systems, communication between control units is often not efficient and flexible enough, and the real-time and accuracy of data transmission is difficult to guarantee, which affects the performance and response speed of chassis electronic control. In terms of hardware costs, multiple independent control units mean more chips and complex circuit designs, which increases manufacturing costs. Summary of the invention
[0005] The present invention provides a chassis electronic control system, method, device and storage medium to reduce development costs, facilitate later program maintenance and save labor costs.
[0006] According to one aspect of the present invention, there is provided a chassis electronic control system, the system comprising: a main MCU module, an auxiliary MCU module connected to the main MCU module;
[0007] The main MCU module is used to obtain a control instruction and send the control instruction to the auxiliary MCU module when the instruction identifier of the control instruction corresponds to the auxiliary MCU module;
[0008] The auxiliary MCU module is used to obtain control instructions, perform chassis electronic control based on the control instructions and generate feedback responses, and send the feedback responses to the main MCU module.
[0009] Optionally, the system also includes: a host computer connected to the main MCU module; the host computer is used to receive control instructions and send the control instructions to the main MCU module through a bus channel.
[0010] Optionally, the main MCU module is also used to generate a delay signal when sending a control instruction to the auxiliary MCU module, and send the delay signal to the host computer; the host computer is used to determine the response time and delay the response time according to the received delay signal.
[0011] Optionally, the main MCU module is also used to send the feedback response to the host computer; the host computer is used to determine the response timeout situation according to the feedback response and the response time.
[0012] Optionally, the system also includes: various functional modules connected to the auxiliary MCU module; the auxiliary MCU module is used to determine the target functional module corresponding to the control instruction from the various functional modules, and send the control instruction to the target functional module for chassis electronic control.
[0013] Optionally, the main MCU module specifically includes: a main DCM unit and a main UART unit; the main DCM unit is used to obtain control instructions, extract the instruction identifier of the control instruction, and determine whether the instruction identifier corresponds to the auxiliary MCU module. If so, the control instruction is sent to the main UART unit; the main UART unit is used to call the UART interface to send the control instruction to the auxiliary MCU module.
[0014] Optionally, the auxiliary MCU module specifically includes: an auxiliary DCM unit and an auxiliary UART unit; the auxiliary UART unit is used to receive control instructions and send the control instructions to the auxiliary DCM unit; the auxiliary DCM unit is used to determine the target functional module corresponding to the control instruction from each functional module, and send the module identifier of the target functional module to the auxiliary UART unit; the auxiliary UART unit is used to send the control instruction to the target functional module according to the module identifier to perform chassis electronic control.
[0015] According to another aspect of the present invention, a chassis electronic control method is provided, the method comprising:
[0016] The control instruction is obtained through the main MCU module, and when the instruction identifier of the control instruction corresponds to the auxiliary MCU module, the control instruction is sent to the auxiliary MCU module;
[0017] The auxiliary MCU module obtains control instructions, performs chassis electronic control based on the control instructions and generates feedback responses, which are then sent to the main MCU module.
[0018] According to another aspect of the present invention, an electronic device is provided, the electronic device comprising:
[0019] at least one processor; and
[0020] a memory communicatively connected to the at least one processor; wherein,
[0021] The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute a chassis electronic control method described in any embodiment of the present invention.
[0022] According to another aspect of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement a chassis electronic control method according to any embodiment of the present invention when executed.
[0023] The technical solution of the embodiment of the present invention enables the main chip to directly transmit information to the auxiliary chip through communication between the main and auxiliary MCU modules. The two are equivalent to a whole relative to the entire chassis electronic control system, and only communicate with the outside through one port of the main MCU module, which reduces hardware costs and improves communication reliability. The entire chassis electronic control is managed by the main MCU module, which makes management more convenient, facilitates subsequent program maintenance, and saves labor costs.
[0024] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0026] Figure 1 is a schematic diagram of the structure of a chassis electronic control system provided according to Embodiment 1 of the present invention;
[0027] Figure 2 is a schematic diagram of the structure of another chassis electronic control system provided according to the first embodiment of the present invention;
[0028] Figure 3 is a schematic diagram of the structure of another chassis electronic control system provided according to the second embodiment of the present invention;
[0029] Figure 4 is a flow chart of a chassis electronic control method provided according to Embodiment 3 of the present invention;
[0030] Figure 5 It is a structural schematic diagram of an electronic device for implementing a chassis electronic control method according to an embodiment of the present invention. DETAILED DESCRIPTION
[0031] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.
[0032] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0033] Embodiment 1
[0034] Figure 1 A structural schematic diagram of a chassis electronic control system is provided for the first embodiment of the present invention. The system includes: a main MCU module and an auxiliary MCU module connected to the main MCU module.
[0035] Among them, the chassis electronic control system is a system used to control the electronic equipment and functions related to the vehicle chassis. The chassis electronic control system can accurately control different parts of the chassis by receiving various instructions to achieve smooth driving of the vehicle. The chassis electronic control system is mainly composed of the main MCU module and the auxiliary MCU module. The main MCU module is responsible for receiving and distributing instructions, while the auxiliary MCU module is responsible for chassis electronic control and feedback response generation. The two modules are interconnected and work together to achieve precise control of the chassis electronic system.
[0036] Optionally, the main MCU module is used to obtain control instructions, and when the instruction identifier of the control instruction corresponds to the auxiliary MCU module, the control instruction is sent to the auxiliary MCU module; the auxiliary MCU module is used to obtain control instructions, perform chassis electronic control based on the control instructions and generate feedback responses, and send the feedback responses to the main MCU module.
[0037] Among them, the control instruction is a signal or command used to instruct the chassis electronic control system to perform a specific operation. The control instruction can be issued by the driver's operation, the vehicle's automatic control system or an external device. Different control instructions correspond to different chassis electronic control functions, such as raising the chassis, increasing the stiffness of the suspension, etc. The instruction identifier is used to distinguish different types of control instructions and determine the corresponding execution module. The main MCU module decides which auxiliary MCU module to send the control instruction to by identifying the instruction identifier. The feedback response refers to the information generated by the auxiliary MCU module about the execution of the control instruction and the current status of the chassis electronic system after executing the control instruction.
[0038] Specifically, the main MCU module is responsible for obtaining control instructions from the outside, analyzing and processing them, and determining which instructions should be sent to the auxiliary MCU module for further execution. At the same time, the main MCU module will also receive feedback responses from the auxiliary MCU module in order to monitor and adjust the operating status of the entire system. The auxiliary MCU module is connected to the main MCU module to assist the main MCU module in completing specific chassis electronic control tasks. The auxiliary MCU module receives the corresponding control instructions sent by the main MCU module, and performs specific control operations on the chassis electronic system according to the control instructions, such as adjusting the suspension, controlling the brakes, etc. The auxiliary MCU module will generate a feedback response and feed back information such as the execution status and the current status of the chassis system to the main MCU module.
[0039] Figure 2 A schematic diagram of the structure of a chassis electronic control system is provided for the first embodiment of the present invention. Figure 2 The system also includes: a host computer connected to the main MCU module.
[0040] Optionally, the system also includes: a host computer connected to the main MCU module; the host computer is used to receive control instructions and send the control instructions to the main MCU module through a bus channel.
[0041] Specifically, the host computer is the receiving and forwarding center of the control instructions. The host computer can receive control instructions in a variety of ways. For example, by connecting to the vehicle's central control system, the driver's operating interface, or an external communication device. When the driver operates the vehicle's control panel, the vehicle's automatic control system issues an instruction, or an external device sends an instruction via wireless communication, the host computer can receive it. After receiving the control instruction, the host computer will send the instruction to the main MCU module through the bus channel. When sending the control instruction, the data will be encapsulated and transmitted according to the bus protocol to ensure that the main MCU module can correctly parse and process the received instruction.
[0042] Optionally, the main MCU module is also used to generate a delay signal when sending a control instruction to the auxiliary MCU module, and send the delay signal to the host computer; the host computer is used to determine the response time and delay the response time according to the received delay signal.
[0043] Specifically, when the main MCU module is preparing to send a control instruction to the auxiliary MCU module, a delay signal will be generated at the same time. The generation of the delay signal is usually based on an internal clock mechanism or a specific algorithm. The main MCU module can generate a delay signal of a certain length of time by setting a timer or counter. The main MCU module can determine the duration of the delay signal based on the type of control instruction, the current state of the system, or preset time parameters. If the control instruction involves more complex chassis electronic control operations, a longer delay signal may be required to ensure that the auxiliary MCU module has enough time to prepare to receive and execute the instruction.
[0044] Furthermore, after the main MCU module generates a delay signal, it will send the delay signal to the host computer through the communication channel connected to the host computer. The host computer is responsible for receiving control instructions in the system and forwarding them to the main MCU module. In this process, the host computer needs to determine a response time, which refers to the time interval from receiving the control instruction to taking the corresponding action. When the host computer receives the delay signal sent by the main MCU module, it will delay the response time according to the delay signal. By delaying the response time, the host computer can wait for the main MCU module and the auxiliary MCU module to complete the corresponding operation to avoid conflicts or errors. For example, if the control instruction sent by the main MCU module requires the auxiliary MCU module to perform complex calculations or control operations, the host computer can give the auxiliary MCU module enough time to complete the operation by delaying the response time, and then make the next decision based on the feedback information.
[0045] Optionally, the main MCU module is also used to send the feedback response to the host computer; the host computer is used to determine the response timeout situation according to the feedback response and the response time.
[0046] Specifically, when the auxiliary MCU module completes the electronic control operation of the chassis, it will generate a feedback response and send it to the main MCU module. That is, after executing the control instruction, the auxiliary MCU module will send information such as the execution status and the current status of the chassis electronic system to the main MCU module in the form of a feedback response. The main MCU module receives it through a specific communication interface. After receiving the feedback response, the main MCU module will forward it to the host computer. The host computer will parse the received data and extract key information in the feedback response, such as the execution status of the control instruction, the current parameters of the chassis electronic system, etc. For example, the host computer may use a specific software program to process the received feedback response and display it on the user interface so that the operator or maintenance personnel can intuitively understand the operating status of the system.
[0047] Furthermore, when the host computer sends a control instruction, it will record the time of sending it and determine whether a response timeout has occurred based on the preset response time. The response time refers to the time interval from sending a control instruction to the expected receipt of a feedback response. When the host computer receives the feedback response, it will compare the current time with the time of sending the control instruction and calculate the actual response time. If the actual response time exceeds the preset response time, the host computer will determine that a response timeout has occurred.
[0048] For example, assume that the host computer sends a control instruction to adjust the height of the chassis and sets the response time to 500 milliseconds. If the host computer does not receive a feedback response within 500 milliseconds, or the received feedback response indicates that the control instruction is not executed correctly, then the host computer will determine that a response timeout has occurred. The host computer can take corresponding measures based on the response timeout, such as issuing an alarm, resending the control instruction, or performing fault diagnosis.
[0049] In summary, the host computer can monitor the operating status of the chassis electronic control system in real time by sending the feedback response to the host computer through the main MCU module. If a response timeout occurs, the host computer can issue an alarm in time to remind the operator to pay attention to possible problems in the system. At the same time, the host computer can perform fault diagnosis based on the feedback response and response timeout. For example, if a control instruction frequently times out, the host computer can infer that the corresponding auxiliary MCU module may be faulty or there may be a problem with the communication channel, thereby helping maintenance personnel quickly locate the fault point and improve the maintenance efficiency of the system.
[0050] Optionally, the system also includes: various functional modules connected to the auxiliary MCU module; the auxiliary MCU module is used to determine the target functional module corresponding to the control instruction from the various functional modules, and send the control instruction to the target functional module for chassis electronic control.
[0051] Among them, each functional module is responsible for executing various tasks of chassis electronic control, including but not limited to suspension control module, brake control module, steering control module, etc. For example, the suspension control module is responsible for adjusting the suspension hardness and height of the vehicle to adapt to different road conditions and driving requirements; the brake control module controls the vehicle's braking system to ensure safe and effective braking performance; the steering control module adjusts the vehicle's steering force and response speed.
[0052] Specifically, when the auxiliary MCU module receives the control instruction sent by the main MCU module, it will determine the corresponding target function module according to the content and type of the instruction, and send the control instruction to the target function module. After receiving the control instruction, the target function module performs the corresponding chassis electronic control operation according to the requirements of the instruction.
[0053] In a specific embodiment, when the driver operates the control panel of the vehicle and issues an instruction to adjust the suspension height, the control instruction is first received by the host computer and then sent to the main MCU module through the bus channel. The main MCU module determines that this instruction needs to be processed by the auxiliary MCU module, so it sends it to the auxiliary MCU module. The auxiliary MCU module determines that the suspension control module is the target functional module and sends the control instruction to the module. After receiving the control instruction, the suspension control module adjusts the suspension height by adjusting the solenoid valve or motor of the suspension damping. After the adjustment is completed, feedback information will be generated and sent back to the auxiliary MCU module, and the auxiliary MCU module will forward the feedback information to the main MCU module. Finally, the main MCU module sends the feedback information to the host computer. The host computer can monitor and manage the operating status of the system based on the feedback information.
[0054] The technical solution of the embodiment of the present invention enables the main chip to directly transmit information to the auxiliary chip through communication between the main and auxiliary MCU modules. The two are equivalent to a whole relative to the entire chassis electronic control system, and only communicate with the outside through one port of the main MCU module, which reduces hardware costs and improves communication reliability. The entire chassis electronic control is managed by the main MCU module, which makes management more convenient, facilitates subsequent program maintenance, and saves labor costs.
[0055] Embodiment 2
[0056] Figure 3 A structural schematic diagram of a chassis electronic control system is provided for Embodiment 1 of the present invention, wherein a main MCU module specifically includes a main DCM unit and a main UART unit; an auxiliary MCU module specifically includes an auxiliary DCM unit and an auxiliary UART unit; and an auxiliary UART unit.
[0057] Optionally, the main MCU module specifically includes: a main DCM unit and a main UART unit; the main DCM unit is used to obtain control instructions, extract the instruction identifier of the control instruction, and determine whether the instruction identifier corresponds to the auxiliary MCU module. If so, the control instruction is sent to the main UART unit; the main UART unit is used to call the UART interface to send the control instruction to the auxiliary MCU module.
[0058] Among them, the main DCM unit is used to receive control instructions. For example, when the driver operates the vehicle's control panel and issues an instruction to adjust the chassis height, the main DCM unit will receive it. Each control instruction carries a specific instruction identifier to indicate the type and target of the instruction. The main DCM unit will parse the received control instruction and extract the instruction identifier. The main DCM unit stores the correspondence between the preset instruction identifier and the auxiliary MCU module. The main DCM unit will compare the extracted instruction identifier with the pre-stored correspondence to determine whether the instruction should be sent to the auxiliary MCU module for processing. When the main DCM unit determines that the instruction identifier of the control instruction corresponds to the auxiliary MCU module, it will send the control instruction to the main UART unit for further transmission to the auxiliary MCU module. UART (Universal Asynchronous Receiver / Transmitter) is a universal asynchronous receiver / transmitter that allows data transmission at different clock frequencies.
[0059] Specifically, the main UART unit can communicate with the auxiliary MCU module by calling the UART interface. The main UART unit will set the parameters of the UART interface, such as baud rate, data bit, stop bit, etc., according to the system configuration and communication protocol. The setting of the main UART unit parameters needs to match the UART interface parameters of the auxiliary MCU module to ensure that the data can be transmitted correctly. The main UART unit sends the control instructions received from the main DCM unit to the auxiliary MCU module by calling the UART interface. During the transmission process, the main UART unit converts the control instructions into serial data format according to the UART communication protocol, and transmits them to the UART interface of the auxiliary MCU module through the bus.
[0060] Optionally, the auxiliary MCU module specifically includes: an auxiliary DCM unit and an auxiliary UART unit; the auxiliary UART unit is used to receive control instructions and send the control instructions to the auxiliary DCM unit; the auxiliary DCM unit is used to determine the target functional module corresponding to the control instruction from each functional module, and send the module identifier of the target functional module to the auxiliary UART unit; the auxiliary UART unit is used to send the control instruction to the target functional module according to the module identifier to perform chassis electronic control.
[0061] Among them, the auxiliary UART unit receives the control instructions sent by the main MCU module through the communication connection with the main MCU module. When the main UART unit of the main MCU module sends the control instructions through the UART interface, the auxiliary UART unit will detect the arrival of the data and receive and decode the data according to the UART communication protocol. For example, the auxiliary UART unit will convert the received serial data into a parallel data format that can be processed by the auxiliary MCU module according to the preset baud rate, data bit, stop bit and other parameters. After receiving the control instruction, the auxiliary UART unit will forward it to the auxiliary DCM unit for further processing.
[0062] Specifically, after the auxiliary DCM unit receives the control instruction sent by the auxiliary UART unit, it will determine the corresponding target functional module from the functional modules connected to it according to the content and type of the instruction. Each functional module has its specific functions and control requirements, and the auxiliary DCM unit stores the correspondence between the control instructions and the functional modules. For example, if the control instruction is to adjust the suspension hardness, the auxiliary DCM unit will determine the suspension control module as the target functional module based on this instruction. The DCM unit can determine the corresponding target functional module by analyzing the instruction identifier, parameters and other information of the control instruction. For example, the control instruction may contain a specific identification code, and the auxiliary DCM unit determines which functional module the control instruction should be sent to by identifying this code.
[0063] Furthermore, after determining the target functional module, the auxiliary DCM unit will send the module identifier of the target functional module to the auxiliary UART unit. The auxiliary UART unit can determine the communication address or port number of the target functional module based on the module identifier, and send the control instruction to the target functional module through the corresponding communication interface. After receiving the control instruction, the target functional module will perform the corresponding chassis electronic control operation according to the requirements of the instruction. In the process of executing the control instruction, the target functional module may generate feedback information, which may include execution status, current status, etc. The feedback information will be sent back to the auxiliary MCU module, and the auxiliary MCU module can forward the feedback information to the main MCU module so that the main MCU module and the host computer can understand the operating status of the system.
[0064] The technical solution of the embodiment of the present invention enables the main chip to directly transmit information to the auxiliary chip through communication between the main and auxiliary MCU modules. The two are equivalent to a whole relative to the entire chassis electronic control system, and only communicate with the outside through one port of the main MCU module, which reduces hardware costs and improves communication reliability. The entire chassis electronic control is managed by the main MCU module, which makes management more convenient, facilitates subsequent program maintenance, and saves labor costs.
[0065] Embodiment 3
[0066] Figure 4 A flowchart of a chassis electronic control method is provided for the third embodiment of the present invention. This embodiment is applicable to the scenario of electronically controlling the chassis of a vehicle. Figure 4 As shown, the method includes:
[0067] S310, obtaining a control instruction through the main MCU module, and when the instruction identifier of the control instruction corresponds to the auxiliary MCU module, sending the control instruction to the auxiliary MCU module.
[0068] Specifically, the main MCU module is responsible for obtaining control instructions from the outside, analyzing and processing them, and determining which instructions should be sent to the auxiliary MCU module for further execution. At the same time, the main MCU module also receives feedback responses from the auxiliary MCU module in order to monitor and adjust the operating status of the entire system.
[0069] S320, obtaining control instructions through the auxiliary MCU module, performing chassis electronic control based on the control instructions and generating feedback responses, and sending the feedback responses to the main MCU module.
[0070] Specifically, the auxiliary MCU module is connected to the main MCU module to assist the main MCU module in completing specific chassis electronic control tasks. The auxiliary MCU module receives the corresponding control instructions sent by the main MCU module, and performs specific control operations on the chassis electronic system according to the control instructions, such as adjusting the suspension, controlling the brakes, etc. The auxiliary MCU module will generate a feedback response and feed back information such as the execution status and the current status of the chassis system to the main MCU module.
[0071] Specific application scenario: The host computer sends a UDS message to the main MCU through Can. The main MCU determines in DCM that the instruction is for the auxiliary MCU. At this time, the UART interface is called to pass the UDS instruction to the auxiliary MCU through the UART communication between the main and auxiliary. The main MCU also replies to the host computer with a delay instruction. After the UART module of the auxiliary MCU receives the instruction, it encapsulates it into a UDS message and sends it to the DCM module for unified management. After the auxiliary MCU receives the UDS instruction, it sends a feedback response after performing related functions. The DCM module sends the feedback response to UART and passes the information to the main MCU through the UART bus. After receiving the information, the main MCU packages it and sends it to the DCM module, and sends a positive response from the DCM module to the Can bus. The technical solution of this embodiment enables the main chip to directly transmit information to the auxiliary chip through UART communication between the main and auxiliary chips, which is equivalent to a whole for the entire chassis electronic control system, and has only one port for external communication for the external interface. The hardware cost of the ECU is reduced, and only one set of UDSIDs of the main chip is required to realize the UDS diagnostic control of the two chips of the entire ECU, which is safer and more reliable.
[0072] The technical solution of the embodiment of the present invention enables the main chip to directly transmit information to the auxiliary chip through communication between the main and auxiliary MCU modules. The two are equivalent to a whole relative to the entire chassis electronic control system, and only communicate with the outside through one port of the main MCU module, which reduces hardware costs and improves communication reliability. The entire chassis electronic control is managed by the main MCU module, which makes management more convenient, facilitates subsequent program maintenance, and saves labor costs.
[0073] Embodiment 4
[0074] Figure 5 A schematic diagram of the structure of an electronic device 10 that can be used to implement an embodiment of the present invention is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital assistants, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or required herein.
[0075] like Figure 5 As shown, the electronic device 10 includes at least one processor 11, and a memory connected to the at least one processor 11, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 to the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other through a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.
[0076] A number of components in the electronic device 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0077] The processor 11 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 11 executes the various methods and processes described above, such as a chassis electronic control method.
[0078] In some embodiments, a chassis electronic control method may be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 18. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the chassis electronic control method described above may be performed. Alternatively, in other embodiments, the processor 11 may be configured to execute a chassis electronic control method in any other appropriate manner (e.g., by means of firmware).
[0079] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0080] Computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.
[0081] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in combination with an instruction execution system, device or equipment. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0082] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).
[0083] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.
[0084] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.
[0085] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.
[0086] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. A chassis electronic control system, It is characterized in that include: A main MCU module, and an auxiliary MCU module connected to the main MCU module; The main MCU module is used to obtain a control instruction, and when the instruction identifier of the control instruction corresponds to the auxiliary MCU module, send the control instruction to the auxiliary MCU module; The auxiliary MCU module is used to obtain control instructions, perform chassis electronic control based on the control instructions and generate feedback responses, and send the feedback responses to the main MCU module.
2. The system according to claim 1, It is characterized in that The system also includes: a host computer connected to the main MCU module; The host computer is used to receive control instructions and send the control instructions to the main MCU module through a bus channel.
3. The system according to claim 2, It is characterized in that The main MCU module is further used to generate a delay signal when sending the control instruction to the auxiliary MCU module, and send the delay signal to the host computer; The host computer is used to determine the response time and delay the response time according to the received delay signal.
4. The system according to claim 3, It is characterized in that The main MCU module is also used to send the feedback response to the host computer; The host computer is used to determine a response timeout situation according to the feedback response and the response time.
5. The system according to claim 1, It is characterized in that The system further comprises: functional modules connected to the auxiliary MCU module; The auxiliary MCU module is used to determine the target functional module corresponding to the control instruction from each functional module, and send the control instruction to the target functional module to perform chassis electronic control.
6. The system according to claim 5, It is characterized in that The main MCU module specifically includes: a main DCM unit and a main UART unit; The main DCM unit is used to obtain a control instruction, extract an instruction identifier of the control instruction, and determine whether the instruction identifier corresponds to the auxiliary MCU module. If so, send the control instruction to the main UART unit; The main UART unit is used to call the UART interface to send the control instruction to the auxiliary MCU module.
7. The system according to claim 6, It is characterized in that The auxiliary MCU module specifically includes: an auxiliary DCM unit and an auxiliary UART unit; The auxiliary UART unit is used to receive the control instruction and send the control instruction to the auxiliary DCM unit; The auxiliary DCM unit is used to determine a target functional module corresponding to the control instruction from each functional module, and send a module identifier of the target functional module to the auxiliary UART unit; The auxiliary UART unit is used to send the control instruction to the target functional module according to the module identification to perform chassis electronic control.
8. A chassis electronic control method, It is characterized in that Applicable to a chassis electronic control system as claimed in any one of claims 1 to 7, comprising: Acquire a control instruction through the main MCU module, and when the instruction identifier of the control instruction corresponds to the auxiliary MCU module, send the control instruction to the auxiliary MCU module; The control instruction is obtained through the auxiliary MCU module, the chassis electronic control is performed based on the control instruction and a feedback response is generated, and the feedback response is sent to the main MCU module.
9. An electronic device, It is characterized in that The electronic device comprises: at least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, wherein the computer program is executed by the at least one processor so as to enable the at least one processor to perform the method of claim 8 .
10. A computer storage medium, It is characterized in that The computer storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the method described in claim 8 when the instructions are executed.
