CN114898617A - Automobile electronic demonstration system and operation method thereof - Google Patents

Automobile electronic demonstration system and operation method thereof Download PDF

Info

Publication number
CN114898617A
CN114898617A CN202210380961.4A CN202210380961A CN114898617A CN 114898617 A CN114898617 A CN 114898617A CN 202210380961 A CN202210380961 A CN 202210380961A CN 114898617 A CN114898617 A CN 114898617A
Authority
CN
China
Prior art keywords
module
controller
operation panel
teaching system
universal
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
CN202210380961.4A
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.)
Harbin Institute of Technology
Original Assignee
Harbin Institute of Technology
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 Harbin Institute of Technology filed Critical Harbin Institute of Technology
Priority to CN202210380961.4A priority Critical patent/CN114898617A/en
Publication of CN114898617A publication Critical patent/CN114898617A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09BEDUCATIONAL OR DEMONSTRATION APPLIANCES; APPLIANCES FOR TEACHING, OR COMMUNICATING WITH, THE BLIND, DEAF OR MUTE; MODELS; PLANETARIA; GLOBES; MAPS; DIAGRAMS
    • G09B9/00Simulators for teaching or training purposes
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Abstract

The invention discloses an automobile electronic teaching system and an operation method thereof. The automobile electronic teaching system comprises an upper computer, a universal controller, an operation panel and a sensor or an actuator; the upper computer is connected with a universal controller, and the universal controller is respectively connected with an operation panel and a sensor or an actuator; the operating panel comprises a mode switch, a potentiometer knob and an LED display screen, the mode switch is connected with the universal controller through a DIO (digital input output), the potentiometer knob is connected with the universal controller through an ADC (analog to digital converter), and the LED display screen is connected with the universal controller through the DIO; the general controller is connected with the sensor or the actuator through PWM and ADC. The automobile electronic control system is used for solving the problem that the existing automobile electronic control technology is difficult to meet the requirements of development technology training and practice teaching.

Description

Automobile electronic demonstration system and operation method thereof
Technical Field
The invention belongs to the field of electronic control system design; in particular to an automobile electronic teaching system and an operation method thereof.
Background
Limited by development time and the like, the automobile control unit and the control algorithm are strictly required in the aspects of development flow and verification mode. To solve this problem, Model-based design (MBD) is becoming the mainstream technology for automotive electronics development.
The core of the model design-based development mode is that a universal control unit is adopted, and important development links such as rapid control prototype realization based on a model and hardware-in-loop simulation test can be comprehensively supported, so that the realization flow of a control algorithm is simplified, and the development and verification processes of the controller are accelerated. At present, a plurality of special devices based on model design and development are available in the market, and are mainly applied to technical development of related enterprises and scientific research institutions. Due to high price, the method is difficult to be applied to technical training and teaching practice links with wider requirements.
Disclosure of Invention
The invention discloses an automobile electronic teaching system and an operation method thereof, which are used for solving the problem that the existing automobile electronic control technology is difficult to meet the requirements of development technology training and practice teaching.
The invention is realized by the following technical scheme:
an automotive electronic teaching system comprises an upper computer, a plurality of universal controllers, an operation panel and a sensor or an actuator;
the upper computer is respectively connected with a plurality of universal controllers, and the universal controllers are respectively connected with an operation panel and a sensor or an actuator;
the operating panel comprises a mode switch, a potentiometer knob and an LED indicator light, the mode switch is connected with the universal controller through a DIO (digital input output), the potentiometer knob is connected with the universal controller through an ADC (analog to digital converter), and the LED indicator light is connected with the universal controller through the DIO;
the general controller is connected with a sensor or an actuator through PWM and ADC.
The electronic teaching system for automobile includes one universal controller to control the sensor to collect signal or drive the executor to constitute the control unit to be tested.
The utility model provides an automotive electronics teaching system, the host computer respectively with a plurality of controllers bidirectional transmission signal, every controller all with operating panel bidirectional transmission signal, among a plurality of controllers, set up a controller for virtual vehicle for the virtual vehicle model of operation tests the control unit that awaits measuring that all the other controllers constitute through simulating various scenes.
An automobile electronic teaching system comprises an experimental box and a computer, wherein the computer is connected with the experimental box through a USB interface, the experimental box comprises an electronic control unit, a controlled object, an operation panel and an adjustable power supply,
the electronic control unit comprises a controller, the controller controls a controlled object to be a real object, and the controller is matched with a driving circuit to realize the functions of analog signal acquisition, pulse signal acquisition, PWM driving, low-side/high-side driving and bus message receiving and transmitting;
the real controlled object is adopted by the controlled object real object to help fully verify the controller algorithm, and the controlled object comprises an execution element and a measurement element and forms a complete control system with the electronic control unit;
the operation panel simulates the mode switching of the controller, the reference input change and the system parameter disturbance;
and the adjustable power supply is used for supplying power to the electronic control unit, the controlled object and the operation panel.
An automobile electronic teaching system, wherein the universal control unit comprises a main control chip, a power management module, a USB interface, JTAG, GPO, PWM, GPI, ADC, eTimer, CAN, LIN, SPI, SENT and FlexRay;
the GPI module, the ADC module, the eTimer module, the CAN module, the LIN module, the SPI module, the SENT module, the FlexRay module, the PWM module, the GPO module, the JTAG module, the USB module and the power management module are all connected with the active chip.
A vehicle electronic teaching system is characterized in that a general control unit supports single-precision hardware floating-point operation, a vehicle-mounted bus control module integrating LIN, CAN FD and FlexRay, a board-level bus module integrating SPI and IIC, a high-precision analog-to-digital conversion module, an integrated pulse output and acquisition module, an integrated on-chip program storage unit Flash and an on-chip data storage unit RAM are integrated; the general control unit is matched with the driving circuit to realize analog signal acquisition, pulse signal acquisition, PWM driving, low-side/high-side driving and bus message receiving and transmitting.
An operating method of an automotive electronic teaching system, the operating method comprising the steps of:
step 1: connecting an automobile electronic teaching system, setting a controller I as a virtual vehicle, and setting a controller II as an execution mechanism;
step 2: integrating and downloading a vehicle model and a vehicle speed control algorithm model into a controller I set as a virtual vehicle, sending an expected throttle opening, a braking request and current vehicle speed information through a CAN bus, and collecting setting information of an expected vehicle speed and a road surface gradient in an operation panel;
and step 3: and downloading the throttle control algorithm model into a controller II, sending a current actual throttle opening and a brake signal through a CAN bus, and acquiring relevant functions of an operation mode, an expected throttle opening and actual throttle opening acquisition in an operation panel.
And 4, step 4: the setting of an operation panel is adopted, a non-vehicle-speed closed-loop mode is selected, the panel of the controller II is adjusted at the moment, the opening of a throttle valve is changed, and the change rule of the throttle valve and the vehicle speed is detected through an actual execution mechanism and upper computer software;
and 5: a vehicle speed closed-loop mode is selected through the setting of an operation panel, the panel of the controller I is adjusted at the moment, the expected vehicle speed and the road gradient are changed, and the change rule of the throttle valve and the vehicle speed is detected through an actual execution mechanism and upper computer software.
An operation method of an automobile electronic teaching system is characterized in that the debugging of a controller I specifically comprises the following steps:
step Y1: connecting an automobile electronic teaching system;
step Y2: based on the system built in the step Y1, an algorithm model of a controller I, namely a vehicle simulation and vehicle speed closed-loop control model, is built on an upper computer of the system, and module interfaces and modes of GPO, PWM, GPI, ADC, eTimer and CAN are configured according to related switches, knobs and motor driving functions, so that road surface gradient input, expected vehicle speed output and communication functions with other controllers based on an operation interface are realized;
step Y3: setting the main variable as a global variable according to the test requirement so as to facilitate subsequent detection or calibration;
step Y4: an RTW tool box is adopted in the upper computer to complete code generation and compilation, and a control algorithm is downloaded into a universal controller through a USB (universal serial bus) or JTAG (joint test action group) interface;
step Y5: based on the configured universal controller in the step 4, adding signals or parameters to be analyzed or configured in debugging software according to test requirements in upper computer calibration software, and inputting or displaying in real time through an interface;
step Y6: setting such as road surface gradient and expected vehicle speed is changed according to a switch and a knob on a demand operation panel, whether process information is correct or not is monitored through debugging software, and parameters are adjusted; to meet the requirements, parameters and models need to be adjusted, and the steps Y2-Y5 are repeated until a suitable model is established and downloaded to the controller I.
The operation method of the automobile electronic teaching system comprises the following steps of:
step E1: connecting an automobile electronic teaching system;
step E2: based on the system built in the step E1, a controller II algorithm model, namely a throttle control algorithm model, is built on the upper computer, and GPO, PWM, GPI, ADC, eTimer, CAN, LIN, SPI, SENT and FlexRay module interfaces and modes are configured according to related switches, knobs and motor driving functions;
step E3: setting the main variable as a global variable according to the test requirement so as to facilitate subsequent detection or calibration;
step E4: an RTW tool box is adopted in an upper computer to complete code generation and compilation, a target execution file containing bottom layer drive is directly generated, and a control algorithm is downloaded into a universal controller through a USB (universal serial bus) or JTAG (joint test action group) interface;
step E5: based on the configured universal controller in the step 4, adding signals or parameters to be analyzed or configured in debugging software according to test requirements in upper computer calibration software, and inputting or displaying in real time through an interface;
step E6: changing the working mode and angle request of a sensor or an actuator such as a throttle valve according to a switch and a knob on a demand operation panel, monitoring whether process information is correct or not through debugging software, and adjusting parameters; to meet the requirements, the parameters and models need to be adjusted, and the steps E2-E5 are repeated until a suitable model is established and downloaded to the controller II.
An operation method of an automotive electronic teaching system, characterized in that the design method comprises the steps of:
step D1: the bottom layer driving module is arranged;
step D2: setting a global variable;
step D3: generating and compiling codes;
step D4: downloading the code generated and compiled in the step D3;
step D5: online debugging and calibration are carried out based on the codes in the step D4;
step D6: and debugging according to the steps until the debugging is finished.
The invention has the beneficial effects that:
the invention has strong universality and openness, can flexibly select the controlled object and the sensor according to the requirements, has flexible and changeable application range and application scene, and is beneficial to arousing the interest of students.
The method is simple to operate, the interface updating and the bottom driver implementation can be realized only through simple model configuration, the upper algorithm and the bottom program integration are realized based on the model, a code automatic generation tool is adopted, the manual code compiling work is omitted, and the rapidity and the accuracy are improved.
The invention can directly download the simulation model of the object into the control unit to form virtual vehicle simulation, and modify various parameter settings and application scenes through the control panel or upper computer software, thereby performing system test on the functions of the control unit to be tested, being beneficial to improving test completeness, reducing test time and improving the reliability of the control unit.
Based on the invention, the test case can be further developed or integrated to complete the automatic test of the tested control unit.
The invention provides a very effective mode for control system verification, and the teaching effect is obviously improved by familiarizing the advanced model-based design method in a limited teaching link through a specific example.
Drawings
FIG. 1 is a block diagram of a universal controller of the present invention.
Fig. 2 is a schematic diagram of data transmission according to the present invention.
FIG. 3 is a flow chart of a method of multiple universal controllers of the present invention.
FIG. 4 is a schematic diagram of the connections of a universal controller system of the present invention.
FIG. 5 is a flow chart of a method of the universal controller of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be described clearly and completely with reference to the accompanying drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
An automotive electronic teaching system comprises an upper computer, a plurality of universal controllers, an operation panel and a sensor or an actuator;
the upper computer is respectively connected with a plurality of universal controllers, and the universal controllers are respectively connected with an operation panel and a sensor or an actuator;
the operating panel comprises a mode switch, a potentiometer knob and an LED indicator light, the mode switch is connected with the universal controller through a DIO (digital input output), the potentiometer knob is connected with the universal controller through an ADC (analog to digital converter), and the LED indicator light is connected with the universal controller through the DIO;
the general controller is connected with the sensor or the actuator through PWM and ADC.
The electronic teaching system for automobile includes one universal controller to control the sensor to collect signal or drive the executor to constitute the control unit to be tested.
The utility model provides an automotive electronics teaching system, the host computer respectively with a plurality of controllers bidirectional transmission signal, every controller all with operating panel bidirectional transmission signal, among a plurality of controllers, set up a controller for virtual vehicle for the virtual vehicle model of operation tests the control unit that awaits measuring that all the other controllers constitute through simulating various scenes.
An automobile electronic teaching system comprises an experimental box and a computer, wherein the computer is connected with the experimental box through a USB interface, the experimental box comprises an electronic control unit, a controlled object, an operation panel and an adjustable power supply,
the electronic control unit comprises a controller, the controller controls a controlled object to be a real object, and the controller is matched with a driving circuit to realize the functions of analog signal acquisition, pulse signal acquisition, PWM driving, low-side/high-side driving and bus message receiving and transmitting;
the real controlled object is adopted by the controlled object real object to help fully verify the controller algorithm, and the controlled object comprises an execution element and a measurement element and forms a complete control system with the electronic control unit;
the operation panel simulates the mode switching of the controller, the reference input change and the system parameter disturbance;
and the adjustable power supply is used for supplying power to the electronic control unit, the controlled object and the operation panel.
The electronic control unit is respectively connected with an operation panel and a controlled object, the operation panel is respectively connected with the electronic control unit and the adjustable power supply, and the electronic control unit is further connected with a computer.
An automobile electronic teaching system is disclosed, wherein the general control unit comprises a main control chip, a GPI module, an ADC module, an eTimer module, a CAN module, an LIN module, an SPI module, an SENT module, a FlexRay module, a PWM module, a GPO module, a JTAG module, a USB module and a power management module;
the GPI module, the ADC module, the eTimer module, the CAN module, the LIN module, the SPI module, the SENT module, the FlexRay module, the PWM module, the GPO module, the JTAG module, the USB module and the power management module are all connected with the active chip.
A vehicle electronic teaching system is characterized in that a general control unit supports single-precision hardware floating-point operation, a vehicle-mounted bus control module integrating LIN, CAN FD and FlexRay, a board-level bus module integrating SPI and IIC, a high-precision analog-to-digital conversion module, an integrated pulse output and acquisition module, an integrated on-chip program storage unit Flash and an on-chip data storage unit RAM are integrated; the general control unit is matched with the driving circuit to realize analog signal acquisition, pulse signal acquisition, PWM driving, low-side/high-side driving and bus message receiving and transmitting.
An operating method of an automotive electronic teaching system, the operating method comprising the steps of:
step 1: connecting an automobile electronic teaching system, setting a controller I as a virtual vehicle, and setting a controller II as an execution mechanism;
step 2: integrating and downloading a vehicle model and a vehicle speed control algorithm model into a controller I set as a virtual vehicle, sending an expected throttle opening, a braking request and current vehicle speed information through a CAN bus, and collecting setting information of an expected vehicle speed and a road surface gradient in an operation panel;
and step 3: and downloading the throttle control algorithm model into a controller II, sending a current actual throttle opening and a brake signal through a CAN bus, and acquiring relevant functions of an operation mode, an expected throttle opening and actual throttle opening acquisition in an operation panel.
And 4, step 4: the setting of an operation panel is adopted, a non-vehicle-speed closed-loop mode is selected, the panel of the controller II is adjusted at the moment, the opening of a throttle valve is changed, and the change rule of the throttle valve and the vehicle speed is detected through an actual execution mechanism and upper computer software;
and 5: a vehicle speed closed-loop mode is selected through the setting of an operation panel, the panel of the controller I is adjusted at the moment, the expected vehicle speed and the road gradient are changed, and the change rule of the throttle valve and the vehicle speed is detected through an actual execution mechanism and upper computer software.
The operation method of the automobile electronic teaching system is characterized in that the debugging of the controller I specifically comprises the following steps:
step Y1: connecting an automobile electronic teaching system;
step Y2: based on the system built in the step Y1, an algorithm model of a controller I, namely a vehicle simulation and vehicle speed closed-loop control model, is built on an upper computer of the system, and module interfaces and modes of GPO, PWM, GPI, ADC, eTimer and CAN are configured according to related switches, knobs and motor driving functions, so that road surface gradient input, expected vehicle speed output and communication functions with other controllers based on an operation interface are realized;
step Y3: setting the main variable as a global variable according to the test requirement so as to facilitate subsequent detection or calibration;
step Y4: an RTW tool box is adopted in the upper computer to complete code generation and compilation, and a control algorithm is downloaded into a universal controller through a USB (universal serial bus) or JTAG (joint test action group) interface;
step Y5: based on the configured general controller in the step 4, adding signals or parameters to be analyzed or configured into debugging software according to test requirements in upper computer calibration software, and inputting or displaying information such as expected vehicle speed, actual vehicle speed, expected opening degree and the like of the automobile in real time through an interface;
step Y6: setting such as road gradient and expected vehicle speed is changed according to a switch and a knob on a demand operation panel, whether process information is correct or not is monitored through debugging software, and parameters are adjusted; to meet the requirements, parameters and models need to be adjusted, and the steps Y2-Y5 are repeated until a suitable model is established and downloaded to the controller I.
The operation method of the automobile electronic teaching system comprises the following steps of:
step E1: connecting an automobile electronic teaching system;
step E2: based on the system built in the step E1, a controller II algorithm model, namely a throttle control algorithm model, is built on the upper computer, and GPO, PWM, GPI, ADC, eTimer, CAN, LIN, SPI, SENT and FlexRay module interfaces and modes are configured according to related switches, knobs and motor driving functions;
step E3: setting the main variable as a global variable according to the test requirement so as to facilitate subsequent detection or calibration;
step E4: an RTW tool box is adopted in an upper computer to complete code generation and compilation, a target execution file containing bottom layer drive is directly generated, and a control algorithm is downloaded into a universal controller through a USB (universal serial bus) or JTAG (joint test action group) interface; the complicated C code compiling and debugging process is omitted in the process;
step E5: based on the configured universal controller in the step 4, adding signals or parameters to be analyzed or configured in debugging software according to test requirements in upper computer calibration software, and performing input or real-time display through an interface, such as displaying an actual driving control signal and an angle signal of the electronic throttle;
step E6: changing the working mode and angle request of a sensor or an actuator such as a throttle valve according to a switch and a knob on a demand operation panel, monitoring whether process information is correct or not through debugging software, and adjusting parameters; in order to meet the requirements, the parameters and the model are adjusted, and the steps E2-E5 are repeated until a suitable model is built and downloaded to the controller II.
A general control unit. MPC5744P of NXP company is selected, a power management module adopts MC33907 of the NXP company and communicates with a control core through an SPI interface, a transceiver selected by a CAN bus interface is TJA1044 of the NXP company, and a double H-bridge drive circuit is integrated. As shown in fig. 1.
Based on the hardware of the control unit and a Simulink support library, the construction of a control algorithm can be completed, then a Real-Time Workshop tool box completes code generation, compiling and linking, a machine code of a control core of the control unit is generated, and the control algorithm can be downloaded into the control unit through a USB or a bus. As shown in fig. 2.
The physical system mainly comprises two parts: one is that the controlled object, namely the vehicle, downloads the established vehicle model to the controller 1 and then can simulate in real time to form a virtual vehicle, and different working modes and environments can be set through a knob; the other is a vehicle-mounted control unit, which downloads control algorithm models such as vehicle speed, throttle valve and the like to the controller 2 to be used as a rapid control prototype, can set different working modes and reference values through a knob, and acts on a real throttle valve actuator. The two are connected through a CAN bus. As shown in fig. 3.
The object end mainly comprises a plurality of general control units, information interaction can be realized through buses or electric signals, the controller 1 can be used for simulating virtual objects, other controllers can be used as each control unit respectively and are connected with corresponding sensors or actuators, and the object part in the functional system.
An operation method of an automotive electronic teaching system, the design method comprising the steps of:
step D1: the bottom layer driving module is arranged;
step D2: setting a global variable;
step D3: generating and compiling codes;
step D4: downloading the code generated and compiled in the step D3;
step D5: online debugging and calibration are carried out based on the codes in the step D4;
step D6: and debugging according to the steps until the debugging is finished.
The step D1 is specifically that various bottom layer drivers have been packaged into standard modules in computer software, and in practical applications, a user defines a manner of connecting a controlled object real object, an operation panel, and an electronic control unit according to functional requirements, and determines a signal type and a pin to be used specifically; at a computer end, connecting the determined bottom layer driving module with a signal interface of a software algorithm model, and configuring the module attribute to make the module attribute consistent with hardware, thereby realizing the butt joint between the upper layer software and the bottom layer driving and hardware interface; for an input signal, a GPI module, an ADC module and an eTimer module are used for digital type, analog type and pulse type according to the electrical characteristics of the input signal and are specifically configured; for the output signal, a GPO module and a PWM module are used for digital type and PWM type according to the electrical characteristics of the output signal and are configured specifically; for bus signals, LIN, CAN, SPI, SENT and FlexRay modules are selected according to communication types of the bus signals, and configuration such as transmission rate and pins is carried out.
The step D2 is specifically that, on the computer side, there are many variables or parameters that need to be detected or calibrated in the upper layer program model, and the signal or variable of interest needs to be defined as a global variable.
Step D3 is specifically to complete the configuration of the software model through steps 1 and 2, and further generate codes on the computer for the features of the hardware processor, where the bottom driver module is copied from the bottom code library according to the configuration, the application layer code automatically generates codes according to the model, and the global variable information is also stored in the determined address.
Specifically, the step D4 is to download the generated file at the computer end to the electronic control unit through an interface method such as USB.
The step D5 is specifically that the computer is connected with the electronic control unit in a USB mode; selecting and setting variables to be observed or calibrated under computer-side debugging software, and automatically positioning memory addresses through a code compiling file to realize detection and calibration of relevant data of the electronic control unit;
adjusting an operation panel and an adjustable power supply, changing an input signal of an electronic control unit and system power supply, observing the reaction of a controlled object real object, and debugging the algorithm in the mode of the step D5; and modifying the software algorithm model according to the requirement, and repeating the steps until the debugging is completed.

Claims (10)

1. An automobile electronic teaching system is characterized by comprising an upper computer, a plurality of universal controllers, an operation panel and a sensor or an actuator;
the upper computer is respectively connected with a plurality of universal controllers, and the universal controllers are respectively connected with an operation panel and a sensor or an actuator;
the operating panel comprises a mode switch, a potentiometer knob and an LED indicator light, the mode switch is connected with the universal controller through a DIO (digital input output), the potentiometer knob is connected with the universal controller through an ADC (analog to digital converter), and the LED indicator light is connected with the universal controller through the DIO;
the general controller is connected with the sensor or the actuator through PWM and ADC.
2. The automotive electronics teaching system according to claim 1, wherein one of the general controllers controls the sensor to collect signals or drives the actuator to form a control unit to be tested.
3. The automotive electronics teaching system according to claim 2, wherein the host computer respectively bidirectionally transmits signals to a plurality of controllers, each controller bidirectionally transmits signals to the operation panel, and one of the plurality of controllers is set as a virtual vehicle for running a virtual vehicle model, and the control unit to be tested, which is formed by the other controllers, is tested by simulating various scenes.
4. An automobile electronic teaching system is characterized in that the automobile electronic teaching system comprises an experiment box and a computer, the computer is connected with the experiment box through a USB interface, the experiment box comprises an electronic control unit, a controlled object, an operation panel and an adjustable power supply,
the electronic control unit comprises a controller, the controller controls a controlled object to be a real object, and the controller is matched with a driving circuit to realize the functions of analog signal acquisition, pulse signal acquisition, PWM driving, low-side/high-side driving and bus message receiving and transmitting;
the real controlled object is adopted by the controlled object real object to help fully verify the controller algorithm, and the controlled object comprises an execution element and a measurement element and forms a complete control system with the electronic control unit;
the operation panel simulates the mode switching of the controller, the reference input change and the system parameter disturbance;
and the adjustable power supply is used for supplying power to the electronic control unit, the controlled object and the operation panel.
5. The automotive electronics teaching system according to claim 1 or 4, characterized in that the general control unit comprises a main control chip, a GPI module, an ADC module, an eTimer module, a CAN module, a LIN module, an SPI module, a SENT module, a FlexRay module, a PWM module, a GPO module, a JTAG module, a USB module and a power management module;
the GPI module, the ADC module, the eTimer module, the CAN module, the LIN module, the SPI module, the SENT module, the FlexRay module, the PWM module, the GPO module, the JTAG module, the USB module and the power management module are all connected with the active chip.
6. The automotive electronics teaching system according to claim 5, characterized in that said general purpose control unit supports single precision hardware floating point arithmetic, vehicle bus control module integrating LIN, CAN FD, FlexRay, board level bus module integrating SPI, IIC, high precision analog-to-digital conversion module, integrated pulse output and collection module, integrated on-chip program memory unit Flash and on-chip data memory unit RAM; the general control unit is matched with the driving circuit to realize analog signal acquisition, pulse signal acquisition, PWM driving, low-side/high-side driving and bus message receiving and transmitting.
7. The operating method of an automotive electronics teaching system according to claim 6, characterized in that the operating method comprises the steps of:
step 1: connecting an automobile electronic teaching system, setting a controller I as a virtual vehicle, and setting a controller II as an execution mechanism;
step 2: integrating and downloading a vehicle model and a vehicle speed control algorithm model into a controller I set as a virtual vehicle, sending an expected throttle opening, a braking request and current vehicle speed information through a CAN bus, and collecting setting information of an expected vehicle speed and a road surface gradient in an operation panel;
and step 3: and downloading the throttle control algorithm model into a controller II, sending a current actual throttle opening and a brake signal through a CAN bus, and acquiring relevant functions of an operation mode, an expected throttle opening and actual throttle opening acquisition in an operation panel.
And 4, step 4: the setting of an operation panel is adopted, a non-vehicle-speed closed-loop mode is selected, the panel of the controller II is adjusted at the moment, the opening of a throttle valve is changed, and the change rule of the throttle valve and the vehicle speed is detected through an actual execution mechanism and upper computer software;
and 5: a vehicle speed closed-loop mode is selected through the setting of an operation panel, the panel of the controller I is adjusted at the moment, the expected vehicle speed and the road gradient are changed, and the change rule of the throttle valve and the vehicle speed is detected through an actual execution mechanism and upper computer software.
8. The operation method of the automotive electronic teaching system according to claim 7, wherein the debugging of the controller i specifically includes the steps of:
step Y1: connecting an automobile electronic teaching system;
step Y2: based on the system built in the step Y1, an algorithm model of a controller I, namely a vehicle simulation and vehicle speed closed-loop control model, is built on an upper computer of the system, and module interfaces and modes of GPO, PWM, GPI, ADC, eTimer and CAN are configured according to related switches, knobs and motor driving functions, so that road surface gradient input, expected vehicle speed output and communication functions with other controllers based on an operation interface are realized;
step Y3: setting the main variable as a global variable according to the test requirement so as to facilitate subsequent detection or calibration;
step Y4: an RTW tool box is adopted in the upper computer to complete code generation and compilation, and a control algorithm is downloaded into a universal controller through a USB (universal serial bus) or JTAG (joint test action group) interface;
step Y5: based on the configured universal controller in the step 4, adding signals or parameters to be analyzed or configured in debugging software according to test requirements in upper computer calibration software, and inputting or displaying in real time through an interface;
step Y6: setting such as road surface gradient and expected vehicle speed is changed according to a switch and a knob on a demand operation panel, whether process information is correct or not is monitored through debugging software, and parameters are adjusted; to meet the requirements, parameters and models need to be adjusted, and the steps Y2-Y5 are repeated until a suitable model is established and downloaded to the controller I.
9. The operation method of the automotive electronic teaching system according to claim 7, wherein the debugging of the controller ii specifically comprises the steps of:
step E1: connecting an automobile electronic teaching system;
step E2: based on the system built in the step E1, a controller II algorithm model, namely a throttle control algorithm model, is built on the upper computer, and GPO, PWM, GPI, ADC, eTimer, CAN, LIN, SPI, SENT and FlexRay module interfaces and modes are configured according to related switches, knobs and motor driving functions;
step E3: setting the main variable as a global variable according to the test requirement so as to facilitate subsequent detection or calibration;
step E4: an RTW tool box is adopted in an upper computer to complete code generation and compilation, a target execution file containing bottom layer drive is directly generated, and a control algorithm is downloaded into a universal controller through a USB (universal serial bus) or JTAG (joint test action group) interface;
step E5: based on the configured universal controller in the step 4, adding signals or parameters to be analyzed or configured in debugging software according to test requirements in upper computer calibration software, and inputting or displaying in real time through an interface;
step E6: changing the working mode and angle request of a sensor or an actuator such as a throttle valve according to a switch and a knob on a demand operation panel, monitoring whether process information is correct or not through debugging software, and adjusting parameters; to meet the requirements, the parameters and models need to be adjusted, and the steps E2-E5 are repeated until a suitable model is established and downloaded to the controller II.
10. The operating method of an automotive electronics teaching system according to claim 4, characterized in that the designing method comprises the steps of:
step D1: the bottom layer driving module is arranged;
step D2: setting a global variable;
step D3: generating and compiling codes;
step D4: downloading the code generated and compiled in the step D3;
step D5: online debugging and calibration are carried out based on the codes in the step D4;
step D6: and debugging according to the steps until the debugging is finished.
CN202210380961.4A 2022-04-12 2022-04-12 Automobile electronic demonstration system and operation method thereof Pending CN114898617A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210380961.4A CN114898617A (en) 2022-04-12 2022-04-12 Automobile electronic demonstration system and operation method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210380961.4A CN114898617A (en) 2022-04-12 2022-04-12 Automobile electronic demonstration system and operation method thereof

Publications (1)

Publication Number Publication Date
CN114898617A true CN114898617A (en) 2022-08-12

Family

ID=82716813

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210380961.4A Pending CN114898617A (en) 2022-04-12 2022-04-12 Automobile electronic demonstration system and operation method thereof

Country Status (1)

Country Link
CN (1) CN114898617A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117456797A (en) * 2023-12-26 2024-01-26 成都运达科技股份有限公司 Method, system and storage medium for simulating driving training connection

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102622470A (en) * 2012-02-21 2012-08-01 重庆邮电大学 General car code conversion method
CN105159188A (en) * 2015-08-14 2015-12-16 广州智维电子科技有限公司 New energy finished automobile heterogeneous network emulator and control method thereof
CN206672512U (en) * 2017-03-09 2017-11-24 天津职业技术师范大学 A kind of pure electric automobile drive system simulation and training platform
CN107966980A (en) * 2018-01-12 2018-04-27 南京航空航天大学 A kind of intelligent electric automobile collision avoidance hardware algorithm verifies system in ring
CN109100954A (en) * 2018-08-06 2018-12-28 大连理工大学 A kind of controller hardware assemblage on-orbit platform method for building up
CN110890012A (en) * 2019-12-16 2020-03-17 吉林大学 Rapid control prototype teaching device based on electronic throttle valve and control method
CN111208801A (en) * 2020-01-14 2020-05-29 重庆大学 Economical hardware-in-loop platform of automobile steer-by-wire system and testing method
CN111402663A (en) * 2020-04-17 2020-07-10 李力 Semi-physical simulation vehicle-mounted bus system teaching and fault diagnosis training platform
CN216014525U (en) * 2021-10-26 2022-03-11 天津职业技术师范大学(中国职业培训指导教师进修中心) New energy automobile air conditioner teaching training platform system

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102622470A (en) * 2012-02-21 2012-08-01 重庆邮电大学 General car code conversion method
CN105159188A (en) * 2015-08-14 2015-12-16 广州智维电子科技有限公司 New energy finished automobile heterogeneous network emulator and control method thereof
CN206672512U (en) * 2017-03-09 2017-11-24 天津职业技术师范大学 A kind of pure electric automobile drive system simulation and training platform
CN107966980A (en) * 2018-01-12 2018-04-27 南京航空航天大学 A kind of intelligent electric automobile collision avoidance hardware algorithm verifies system in ring
CN109100954A (en) * 2018-08-06 2018-12-28 大连理工大学 A kind of controller hardware assemblage on-orbit platform method for building up
CN110890012A (en) * 2019-12-16 2020-03-17 吉林大学 Rapid control prototype teaching device based on electronic throttle valve and control method
CN111208801A (en) * 2020-01-14 2020-05-29 重庆大学 Economical hardware-in-loop platform of automobile steer-by-wire system and testing method
CN111402663A (en) * 2020-04-17 2020-07-10 李力 Semi-physical simulation vehicle-mounted bus system teaching and fault diagnosis training platform
CN216014525U (en) * 2021-10-26 2022-03-11 天津职业技术师范大学(中国职业培训指导教师进修中心) New energy automobile air conditioner teaching training platform system

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
程登良;蒋伟荣;黄志文;张凯;王卫华;: "基于DSP的汽车传感器实验台的设计", 自动化与仪表, no. 10, 15 October 2013 (2013-10-15), pages 44 - 47 *
蓝天;廖承林;王丽芳;: "基于虚拟仪器的电动汽车数字化仪表系统设计", 电测与仪表, no. 01, 25 January 2008 (2008-01-25), pages 50 - 54 *
连静;李琳辉;周雅夫;沈晓勇;常城;: "汽车电子控制系统半实物仿真平台开发", 大连理工大学学报, no. 06, 15 November 2011 (2011-11-15), pages 904 - 910 *
邱宝梅;左文英;王凤娟;: "基于Simulink/RTW的汽车电子控制系统的研究", 计算机测量与控制, no. 05, 25 May 2011 (2011-05-25), pages 1086 - 1088 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117456797A (en) * 2023-12-26 2024-01-26 成都运达科技股份有限公司 Method, system and storage medium for simulating driving training connection
CN117456797B (en) * 2023-12-26 2024-03-15 成都运达科技股份有限公司 Method, system and storage medium for simulating driving training connection

Similar Documents

Publication Publication Date Title
JP5455896B2 (en) Development equipment simulation apparatus and method for test bench
CN205301987U (en) Electric motor car machine controller hardware is in ring testing system
US9766607B2 (en) Test device for testing a virtual electronic control unit
CN101739023B (en) Car body controller simulation system
CN102591327B (en) Virtual-real combined test method developed for automobile body control
US9547746B1 (en) Systems and methods using models to evaluate physical components
US11232045B2 (en) Computer-implemented method for integrating at least one signal value into a virtual control unit
US8630829B1 (en) Computer aided design environment with electrical and electronic features
CN114898617A (en) Automobile electronic demonstration system and operation method thereof
CN113835410A (en) Finished automobile testing method and system based on signal simulation device
CN101673089A (en) Development platform of vehicle central control unit and control method thereof
CN103135545A (en) Automatic gearbox controller semi-physical simulation test system
CN201497881U (en) Development platform of vehicle central control unit
CN115270402A (en) Electromechanical integrated comprehensive training examination teaching method based on virtual simulation
CN202281952U (en) Function testboard for vehicle body control system of heavy-duty vehicle
CN111819507A (en) Information processing system, information processing method, and information processing program
CN106897469A (en) A kind of test environment generation method and device
CN111308910B (en) Simulation teaching platform for electric power system
CN101609614A (en) A kind of emulation platform of semi-matter simulating system reaches the method for goal systems being carried out online accent ginseng
KR20060120080A (en) Simulation system and computer-implemented method for simulation and verifying a control system
JP2007507765A (en) System and method for testing a control process for a vehicle
CN114894505A (en) Electric power steering system model and automatic test system and method thereof
Zuo et al. A new design method of automotive electronic real-time control system
CN113885426A (en) Automatic generation method, test method and visual test system for PLC (programmable logic controller) codes of excavator control program
CN101567136A (en) Automatic control test device based on robot platform

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