[go: up one dir, main page]

CN114972576B - Method, apparatus and storage medium for generating LTT schematic - Google Patents

Method, apparatus and storage medium for generating LTT schematic Download PDF

Info

Publication number
CN114972576B
CN114972576B CN202210578855.7A CN202210578855A CN114972576B CN 114972576 B CN114972576 B CN 114972576B CN 202210578855 A CN202210578855 A CN 202210578855A CN 114972576 B CN114972576 B CN 114972576B
Authority
CN
China
Prior art keywords
ltt
module
bus
channels
modules
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.)
Active
Application number
CN202210578855.7A
Other languages
Chinese (zh)
Other versions
CN114972576A (en
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.)
Continental Automotive Research & Development Chongqing Co ltd
Original Assignee
Continental Automotive Research & Development Chongqing Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Continental Automotive Research & Development Chongqing Co ltd filed Critical Continental Automotive Research & Development Chongqing Co ltd
Priority to CN202210578855.7A priority Critical patent/CN114972576B/en
Publication of CN114972576A publication Critical patent/CN114972576A/en
Application granted granted Critical
Publication of CN114972576B publication Critical patent/CN114972576B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • G06T11/20Drawing from basic elements, e.g. lines or circles
    • G06T11/206Drawing of charts or graphs
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/903Querying

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computational Linguistics (AREA)
  • Data Mining & Analysis (AREA)
  • General Engineering & Computer Science (AREA)
  • Tests Of Electronic Circuits (AREA)

Abstract

本申请提出用于生成LTT原理图的方法、设备和计算机存储介质。该方法包括获取生成的LTT原理图的配置参数;根据配置参数,确定待生成的LTT原理图包括的功能模块及其数量;以及根据功能模块及其数量,在模板数据库中提取与功能模块对应的功能模块模板以及在至少一个图页中自动布置对应数量的功能模块模板以生成LTT原理图,其中所述模板数据库中包括在所述LTT原理图中涉及的功能模块的预定义的功能模块模板,所述功能模块模板包括构成所述功能模块的元件以及所述元件之间的连接关系。本申请的方案可以显著节约绘图时间,提高绘图效率,便于后期管理和维护。

The present application proposes a method, device and computer storage medium for generating an LTT schematic diagram. The method includes obtaining configuration parameters of the generated LTT schematic diagram; determining the functional modules and their number included in the LTT schematic diagram to be generated according to the configuration parameters; and extracting functional module templates corresponding to the functional modules from a template database and automatically arranging a corresponding number of functional module templates in at least one drawing page according to the functional modules and their number to generate an LTT schematic diagram, wherein the template database includes predefined functional module templates of the functional modules involved in the LTT schematic diagram, and the functional module templates include the elements constituting the functional modules and the connection relationship between the elements. The solution of the present application can significantly save drawing time, improve drawing efficiency, and facilitate later management and maintenance.

Description

Method, apparatus and storage medium for generating LTT schematic
Technical Field
The present application relates to automatic generation of schematics, and more particularly, to a method, apparatus, and storage medium for generating LTT (LIFE TIME TESTER, lifecycle tester) schematics.
Background
In the automotive industry, an ECU (Electronic Control Unit ) is one of the most central components of an automobile, and any minor error in its design can lead to the destruction of the automobile. Therefore, in the automobile industry, an LTT system is generally adopted to simulate a developed ECU product in real time, so that the ECU can be tested under various conditions, particularly under fault and limit conditions, the specific situation of the whole service cycle of the ECU can be truly simulated, and the cycle and the times of fault occurrence in actual use can be reduced, thereby helping developers to better improve the product.
Before testing an ECU (or other devices under test) using LTTs, a developer is required to design a schematic diagram of the LTT for the devices under test. Specifically, for each LTT test project, a developer is required to redraw the schematic from the project. The inventors of the present application have found that there are many identical or similar functional nodes in the LTT schematics of different test items, the main difference in the schematics being the number of functional nodes, the way in which these functional nodes are manually repeated is not efficient. Accordingly, there is a need for improvement in the art.
Disclosure of Invention
The embodiment of the application provides a method, equipment and a storage medium for generating an LTT schematic diagram, which can improve the drawing efficiency of the LTT schematic diagram.
According to one aspect of the application, a method for generating an LTT schematic diagram of a life cycle tester is provided, and the method comprises the steps of obtaining configuration parameters of the LTT schematic diagram to be generated, determining functional modules and the quantity of the functional modules included in the LTT schematic diagram to be generated according to the configuration parameters, extracting functional module templates corresponding to the functional modules from a template database according to the functional modules and the quantity of the functional modules, and automatically arranging the functional module templates corresponding to the functional modules in at least one page to generate the LTT schematic diagram, wherein the template database comprises predefined functional module templates of the functional modules involved in the LTT schematic diagram, and the functional module templates comprise elements forming the functional modules and connection relations among the elements.
According to another aspect of the application, an apparatus for generating an LTT schematic is provided, comprising a parameter acquisition unit configured to acquire configuration parameters of the LTT schematic to be generated, a generation unit configured to determine function modules and the number thereof included in the LTT schematic to be generated according to the configuration parameters, and extract function module templates corresponding to the function modules in a template database according to the function modules and the number thereof, and automatically arrange the corresponding number of function module templates in at least one drawing sheet to generate the LTT schematic, wherein the template database includes predefined function module templates of the function modules involved in the LTT schematic, the function module templates including elements constituting the function modules and connection relations between the elements.
According to a further aspect of the application, a computer-readable storage medium is proposed, on which a computer program is stored, the computer program comprising executable instructions which, when executed by a processor, implement the method as described above.
According to yet another aspect of the application, an electronic device is presented comprising a processor and a memory for storing executable instructions of the processor, wherein the processor is configured to execute the executable instructions to implement the method as described above.
By adopting the method, the equipment and the computer storage medium for generating the LTT schematic diagram, which are provided by the application, the types and the quantity of the functional modules contained in the LTT schematic diagram can be determined according to the test requirements of the LTT test items and the requirements of various application scenes and working environments of equipment to be tested. The corresponding function module templates are extracted from the module database according to the determined function modules, so that format confusion caused by the fact that different plotters bring personal drawing styles into repeated drawing and manual drawing can be avoided. The elements and the connection relations thereof related to the LTT test items are predefined in the function module templates, so that the elements and the connection relations thereof inside the function modules do not need to be analyzed, calculated and configured again when a plurality of function module templates are arranged, the drawing time is remarkably saved, and the drawing efficiency is improved. The scheme for automatically drawing the schematic diagram can allocate resources to the LTT test project, quicken the development progress of the project and is convenient for later management and maintenance.
Drawings
The above and other features and advantages of the present application will become more apparent by describing in detail exemplary embodiments thereof with reference to the attached drawings.
FIG. 1 is a schematic flow chart of a method for generating an LTT schematic according to one embodiment of the application.
FIG. 2 is an exemplary Sheet template for placement of at least a portion of an LTT schematic thereon according to one embodiment of the application.
FIG. 3 is a schematic diagram of generating corresponding functional modules based on functional module templates of HSD channels referred to by LTT schematics according to one embodiment of the present application.
FIG. 4 is a schematic diagram of a CAN bus communication module included in a determined LTT schematic diagram in accordance with one embodiment of the application.
Fig. 5 is a schematic block diagram of an apparatus for generating an LTT schematic in accordance with an embodiment of the application.
Fig. 6 is a schematic block diagram of an electronic device for generating an LTT schematic in accordance with an embodiment of the application.
Detailed Description
Exemplary embodiments will now be described more fully with reference to the accompanying drawings. The exemplary embodiments, however, may be embodied in many different forms and should not be construed as limited to the embodiments set forth herein, but rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of the exemplary embodiments to those skilled in the art. In the drawings, the size of some of the elements may be exaggerated or otherwise distorted for clarity. The same reference numerals in the drawings denote the same or similar structures, and thus detailed descriptions thereof will be omitted.
Furthermore, the described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided to give a thorough understanding of embodiments of the application. One skilled in the relevant art will recognize, however, that the inventive aspects may be practiced without one or more of the specific details, or with other methods, components, etc. In other instances, well-known structures, methods, or operations are not shown or described in detail to avoid obscuring aspects of the application.
The scheme for generating the LTT schematic diagram is used for automatically generating the LTT schematic diagram. The generated LTT schematic is used for testing equipment and products to be tested. The test can be used for equipment (such as ECU) in the automobile field, and can be further expanded to application scenes requiring automatic generation of LTT schematic diagrams for other equipment or products, such as test items of software modules. The LTT schematic mainly includes various types of functional modules that implement the corresponding functions of the LTT test system. The number of each type of functional module may be one or more. Each functional module includes a particular device or element (e.g., a device under test, a hardware unit, or an interface device) and signal and/or electrical connections between the devices or elements. Each device or element in the LTT schematic and the signal and/or electrical connection relationships are graphically represented. According to an embodiment of the present application, devices or elements in a functional module may be referred to as graphic objects or elements in the LTT schematic to be generated, and then signal and/or electrical connection relationships between the devices or elements may be referred to as (graphic) connection relationships between the graphic objects or elements. Signal and/or electrical connections may also exist between the same or different functional modules of the same or different types, between devices or elements in a functional module, between a functional module and a device or element in another functional module. Unlike hardware development involving devices under test, the LTT schematics generated by the present application are primarily used to present signal and/or electrical connections between graphical objects or elements involved in LTT test projects, rather than the layout of the devices under test and the hardware system containing the devices under test (layout).
The term "template" as used in this application generally refers to a combination of objects or elements configured based on a predefined standard or format that can be extracted in their entirety and used in the generation of an LTT schematic. For example, a page template may provide placement of various functional modules included in the drawn LTT schematic in a predefined page layout and size using predefined coordinate axes. For another example, the functional module templates may include devices or elements in the corresponding functional module involved in the LTT schematic to be generated with the LTT test item, and internal signal and/or electrical connections between the devices or elements, even external signal and/or electrical connections between the devices or elements in the corresponding functional module and devices or elements other than the functional module, the functional module. The functional module templates are predefined by the user based on the LTT test system, include devices or elements and their connection relationships, related parameters and layouts that meet predetermined criteria, and may be automatically adjusted or modified within defined limits. According to the embodiment of the application, the signal and/or electrical connection relation between the devices or elements is configured in the functional module template, and the functional module template can be used for generating the LTT schematic diagram of the LTT test item, so that a user does not need to analyze and consider the connection relation of the devices or elements in the functional module again when generating the LTT schematic diagram by using the scheme of the application, and the drawing efficiency is effectively improved.
The embodiment of the application takes an LTT schematic diagram generating tool written by a python programming language as an example to describe a scheme for generating an LTT schematic diagram, wherein the automatic generation of the schematic diagram and the resource allocation are performed by calling Office visual software of Microsoft corporation. Those skilled in the art will appreciate that the programming language and drawing software described above are merely illustrative of the need for the present application and are not intended to limit the scope of the inventive arrangements.
The automated generation of the LTT schematic of the present application is described below in conjunction with the schematic flow of the method for generating the LTT schematic shown in fig. 1.
First, configuration parameters of the LTT schematic are acquired in step S110.
Taking the application scenario of ECU device testing using MesSy test systems in the automotive field as an example, configuration parameters may include, but are not limited to, one or more of test item names 110 of LTT schematics to be generated, test system version 120, number of devices under test (Device Under Test, DUTs) 130, input parameters 140, bus communication parameters 150, output parameters 160, and additional device parameters 170.
The item names 110 of the tests indicate test items of the LTT, and may be used to automatically populate the names of the schematic to distinguish from other LTT test items when the LTT schematic is generated. The item name 110 is valued in a range of non-null character and/or digit strings.
The test system version 120 is used to indicate the type of test system for which the LTT test item is applicable. Taking MesSy (measurement System) as an example, different versions of MesSy support test functions and function modules, the configuration (type and number) of devices and elements in the function modules, and the connection relationships between the devices or elements in the function modules are generally different, so that the generated LTT schematic diagrams are also different. MesSy the test equipment generally comprises three versions, mesSy I, mesSy II and MESSY II FD respectively (Flexible Datarate, flexible data transfer rate). The test system version 120 may range in value from a combination of system version numbers (e.g., mesSy I, etc.).
DUT quantity 130 represents the number of devices under test that need to be tested in the LTT test project. The output signals in the LTT test program are primarily from the DUT. One or more devices under test may be measured simultaneously according to the resource requirements of the LTT test item. According to an embodiment of the application, the number of DUTs may be characterized by the number of DUTs supported by the load box (Loadbox). The load box is used to place all of the load of the device under test DUT within a custom equipment frame (e.g., metal frame). The load may include a lamp, a motor, or the like. The load box may be considered a combination of objects served by the device under test DUT. In addition to all loads of the DUT, a power supply module (e.g., in the form of a current card) for MesSy and CMM (Current Measurement Module, current test module) may be placed within the load box. In general, one load box is used in each LTT test item, and the DUT quantity 130 can be characterized by the number of DUTs supported by one load box in that LTT test item. The number of DUTs may be in Arabic numerals, which may range from an integer of 1 to 6, for example.
The input parameters 140 may be considered as parameters of the power input and control quantity/sensor signal input of the LTT test item, and may specifically include power parameters, analog signal input parameters, PWM signal input parameters, and/or digital signal input parameters, etc. The power supply parameter may be, for example, the number of power supplies VBAT and GND. The number of the VBAT PINs of the power supply indicates the number of VBAT PINs of the LTT test item, and the VBAT PINs take on non-empty Arabic numerals. The number of power supply GND indicates the number of ground GND PIN of the LTT test item, which is also a non-empty arabic number. The analog signal input parameters include the number of channels of the analog signal input, which takes on non-null arabic numbers. The PWM signal input parameters include the number of channels of the PWM (Pulse Width Modulation ) signal input, which takes on a non-empty arabic number. The digital signal input parameters comprise the number of channels of digital signal input, and are specifically divided into high-effective channel number and low-effective channel number, and the values of the high-effective channel number and the low-effective channel number are non-empty Arabic numerals.
Bus communication parameters 150 are used to configure bus data communications in the LTT test project, and specifically include a number 151 of controller area network (Controller Area Network, CAN) bus-related CAN bus channels and a number 152 of local interconnect network (Local Interconnect Network, LIN) bus-related LIN bus channels required for each device under test DUT. Both values are non-empty Arabic numerals.
The output parameters 160 mainly include standard drive signal outputs from the device under test DUT for servicing or driving loads in the load box, including, for example, the number of high-side drive (HIGH SIDE DRIVER, HSD) channels and the number of low-side drive (LSD SIDE DRIVER, LSD) channels. Both values are non-empty Arabic numerals.
The additional device parameters 170 represent other devices in the LTT test project that differ from the device under test DUT, the measurement device (e.g., current test module CMM), the load (load box), including, for example, the number of antenna channels corresponding to the antenna device and the number of air conditioning motor channels corresponding to the air conditioning device. The number of antenna channels indicates the number of Low Frequency (LF) antenna channels involved in the LTT test item, which takes a value other than an empty arabic number. The number of the air conditioner motor channels indicates the number of channels of a control port of the air conditioner motor in the LTT project, and the value is a non-empty Arabic number.
According to an embodiment of the present application, the above-described configuration parameters input by the user may be acquired using, for example, a Graphical User Interface (GUI). The GUI tool "may be written using a Python programming language, guiding the user to enter relevant information for the LTT test item in the corresponding information item. For example, an information item is divided into two parts of basic information and item information. The basic information includes some information of the LTT test item, such as item name, mesSy version, number of DUTs supported by one load box Loadbox. The item information includes other information of LTT test items, such as VBAT number, GND number, analog input channel number, PWM input channel number, digital input channel (high-efficiency) number, digital input channel (low-efficiency) number, CAN (bus) channel number, LIN (bus) channel number, HSD channel number, LSD channel number, antenna channel number, and air conditioning motor number. After the user inputs the parameters corresponding to the information items respectively, the configuration parameters are input into the tool to complete the acquisition of the configuration data.
The configuration parameters of the LTT test items entered in the GUI, which are all related to the device under test and which already cover the vast majority of the requirements of the expected application scenario of the LTT test system, may be preset. According to an embodiment of the present application, a selection list may also be used in the input box of each information item of the GUI, wherein all LTT test item supports and selectable parameter values are displayed in a drop-down or pop-up list for selection by the user.
After the user has completed entering the configuration parameters, the tool begins the generation of the LTT schematic in the background.
The type of functional modules included in the LTT schematic to be generated and the number thereof are determined based on the acquired configuration parameters to perform the modular drawing operation in step S120.
Step S120 may specifically include a substep S121 of verifying validity of the configuration parameters, and a substep S122 of determining one or more functional modules included in the LTT schematic and the number thereof based on the verified configuration parameters.
In sub-step S121, sub-step S121a and sub-step S121b for verification are included. The substep S121a acquires the configuration parameters from the GUI, and then in the substep S121b, each configuration parameter is verified, and it is determined whether the acquired parameters fall within the range of values thereof. Only when the parameter value falls within the value range, the verification is passed (yes in the judgment result) and the next operation link is entered (for example, sub-step S122), otherwise, the obtained configuration parameter is judged to be invalid (no in the judgment result) and the sub-step S121a is returned to prompt the user to modify the corresponding configuration parameter and re-obtain the update data of the configuration parameter. For example, the verification that the configuration parameters fall within the value range includes, for different configuration parameters, whether the item name is not empty, whether the MesSy version is correct, whether the DUT number is not empty and is between 1 and 6, whether the power supply VBAT number is not empty and is an arabic number, whether the power supply GND number is not empty and is an arabic number, whether the analog input number is not empty and is an arabic number, whether the PWM input number is not empty and is an arabic number, whether the number high-efficient input number is not empty and is an arabic number, whether the number low-efficient input number is not empty and is an arabic number, whether the CAN channel number is not empty and is an arabic number, whether the LIN channel number is not empty and is an arabic number, whether the HSD channel number is not empty and is an arabic number, whether the LSD channel number is not empty and is an arabic number, whether the antenna channel number is not empty and is an arabic number, and whether the air conditioner channel number is not empty and is an arabic number, and the like, respectively. According to an embodiment of the present application, the sub-step S131 of verifying the validity of the configuration parameters may also be performed at the end of the step S110 of obtaining the configuration parameters of the LTT schematic, to ensure that the configuration parameters on which the step S130 of determining the functional module is based are valid and legal. Additionally, in some embodiments, the operation of verifying the validity of the configuration parameters may also be performed after each parameter entered by the user.
An LTT schematic may be considered as a combination of at least one drawing page corresponding to a combination of each type of functional modules of one or more functional modules included in the LTT schematic, where the combination of each type of functional module implements a function or functions of an LTT test item, or the combination of multiple functional modules of multiple types implements a function or functions of an LTT test item. The functions of the functional module may relate to channel functions of one or more of the individual channels for which configuration data is acquired. The various channels described above correspond in the LTT schematic to various graphical objects or elements (representing the devices or elements to which the channels relate) implementing the functionality of the channel, as well as to modular graphical combinations of the connection relationships between these graphical objects. Thus, one or more of the pages of the LTT schematic corresponding to a functional module may correspond to a modular graphical combination of various graphical objects or elements and the connection relationships between these graphical objects that implement the function of the channel to which it relates.
A schematic diagram of the LTT test item is generated by determining the functional modules and the number thereof for realizing each function included in the LTT test item and at least one corresponding page of the LTT schematic diagram corresponding to the functional modules or the functional module combination. The LTT schematic diagram to be generated of the LTT test item mainly comprises the following functional modules:
The test system (e.g., mesSy) powers the module. MesSy is used as a system platform of LTT test, and is used for providing basic functions of signal output or signal detection, and each functional module in the schematic diagram determined based on configuration parameters input/selected by a user and graphic objects or elements in a channel are built on MesSy, so that a schematic diagram of LTT test items is generated.
The current test module CMM may include a current test module CMM and a CMM power module for powering the CMM, where the CMM power module is an internal necessary module MesSy and needs to occupy the resources of the CAN bus channel of MesSy.
A Serial Control (SC) card power module, internally comprising a CAN bus and a LIN bus transceiver, for expanding the CAN bus channel and the LIN bus channel, may also be referred to as an SC expansion card. The SC card power module may further include a general SC card power module and a special SC card power module according to the requirements of the LTT test item. The dedicated SC card power module is developed and customized by the user and CAN implement more complex or more convenient functions outside of the CAN bus and LIN bus transceivers, such as relay-based bus control.
And the load layout module is used for realizing the interface connection between the device to be tested and the load of the load box, such as the front panel layout module of the load box.
The DUT power supply module comprises a DUT power supply device and a module and the like associated with the DUT.
The CAN bus communication module includes a CAN bus transceiver connected to a test system (e.g., mesSy) module and/or an SC card power module and a corresponding device or module requiring a CAN bus.
LIN bus communication modules, including LIN bus transceivers connected to test system (e.g., mesSy) modules and/or SC card power modules and corresponding devices or modules requiring a LIN bus.
In an embodiment of the present application, the CAN bus communication module and the LIN bus communication module that do not include the SC expansion card may be referred to as a conventional CAN bus communication module and a LIN bus communication module, respectively. When the SC expansion card is required to expand the number of CAN bus channels and/or LIN bus channels of the LTT test item, at least one SC expansion card will be included in the CAN bus communication module and the LIN bus communication module, and thus may be referred to as an expansion CAN bus communication module and a LIN bus communication module, respectively.
An analog signal input module, corresponding to a functionally related device or module of the analog signal input channel.
A digital signal input module, a functionally related device or module corresponding to a digital signal input channel (including both high-activity and low-activity channels).
The PWM signal input module corresponds to a functionally related device or module of the PWM signal input channel.
The high side HSD output module and the low side LSD output module correspond to functionally related devices or modules of the high side HSD channel and the low side LSD drive channel, respectively.
An antenna module and an air conditioner motor module, which correspond to the antenna device channel and the device or module of the additional device function of the air conditioner motor control port channel, respectively.
Of these functional modules, it is of paramount importance to generate a drawing sheet of the corresponding LTT schematic diagram of the functional module associated with the bus channel function including the CAN bus channel and the LIN bus channel. Because the test data for the LTT test item of the device under test mainly come from the signals transmitted on the CAN bus and LIN bus channels.
Details of the determination of the CAN bus communication module and the LIN bus communication module and the number thereof, respectively, in the substep S122 are described in detail below. The process part mainly comprises a substep S122a for determining a number constraint of bus channels including CAN bus channels and/or LIN bus channels and a substep S122b for determining CAN bus communication modules and/or LIN bus communication modules and a number thereof.
The substep S122a is configured to determine the above number constraint based on the number of bus channels including the number of CAN bus channels and the number of LIN bus channels required by the DUT of the LTT test item, the number of bus channels including the number of CAN bus channels and the number of LIN bus channels required by the CMM of the current test item, and the number of bus channels including the number of CAN bus channels and the number of LIN bus channels that the test system CAN provide. The bus channels required by the CMM may also be referred to as bus channels that the test system is to occupy. The bus channels that the test system is able to provide may also be referred to as the bus channels that the test system (max) supports. Wherein the number of CAN bus channels and the number of LIN bus channels required by the DUT are calculated by multiplying the number of DUTs by the number of CAN bus channels and the number of LIN bus channels required by each DUT, indicated by the number of CAN bus channels 151 and the number of LIN bus channels 152, respectively. Where the number of DUTs input is characterized by the number of DUTs supported by each load box, the number of CAN bus channels and the number of LIN bus channels required by the DUTs are calculated by multiplying the number of CAN/LIN bus channels required by each DUT by the number of DUTs supported by the load box. The number of CAN and LIN bus channels required by the CMM and the number of CAN and LIN bus channels that the test system CAN provide are determined based on the test system version 120.
The above-described number constraint of bus channels in the LTT schematic diagram needs to meet the test requirements of the LTT test project, i.e. the number of CAN bus channels and the number of LIN bus channels, including that provided by the test system MesSy and an external extension such as an SC card, should be equal to or greater than the number of CAN bus channels and the number of LIN bus channels, respectively, required by the current test modules CMM of the devices under test DUT and MesSy, so that there are sufficient bus resources to transmit the test data.
Specifically, according to the obtained MesSy version information, the number of DUTs supported by one load box, the number of CAN bus channels and the number of LIN bus channels required by each DUT, and the number of CAN bus channels and the number of LIN bus channels required to be used in the LTT test project are determined, so that the number of SC cards required to be used is determined. The SC card includes CAN and LIN transceivers for extending CAN and LIN bus channels, which may be used with MesSy to supplement a corresponding number of CAN and LIN bus channels if the number of CAN and LIN bus channels supported by MesSy itself is insufficient to support the total number of bus channels required by the DUT in the LTT test project and the CMM in MesSy.
On the basis of the determination of the number constraint, the number of CAN bus channels and the number of LIN bus channels required in the entire LTT schematic CAN be determined based at least on the number constraint by the above calculation in sub-step S122b, and the number of SC cards for providing the required number of external expansion CAN bus channels and the number of LIN bus channels CAN be further determined. Further, the type (regular or extended) of the CAN bus communication module and/or the type (regular or extended) of the LIN bus communication module and the corresponding number of modules thereof are determined, as well as the number of SC card power supply modules and the number thereof included in the LTT schematic to be generated (assuming that the SC card power supply modules are predefined for a single SC card).
The principle of determining the number constraint of CAN bus channels and LIN bus channels of an LTT schematic and determining the number configuration of bus channels required in an LTT test item and the number configuration of SC cards required based on the number constraint is described below in several examples.
In a first example, based on the acquired configuration parameters, one load box Loadbox of the LTT test items supports 1 device under test DUT and each DUT requires 8 CAN bus channels and 9 LIN bus channels.
The MesSy I versions or the MesSy II version of MesSy themselves provide a maximum of 5 on-chip CAN transceivers, 5 on-chip CAN transceivers and 25 basic communication resources of serial communication interfaces, i.e. the MesSy I version or the MesSy II version of MesSy themselves may provide a number of CAN bus lanes of 5. Each MESSY II FD version MesSy itself provides a maximum of 10 supported on-chip with CAN FD transceivers and 25 serial communication interfaces, i.e. the MesSy version MESSY II FD itself provides a number of CAN bus channels of 10.MesSy do not provide an on-chip transceiver of the LIN bus channel itself.
If MesSy I or MesSy II versions of MesSy are used, an additional 4 CAN bus channels outside MesSy are needed to extend because 1 CAN bus channel is needed to read the data of the current test module in MesSy system, so that MesSy CAN provide only 4 CAN bus channels to the DUT itself. In addition, the 9 LIN bus channels required by the DUT also need to be extended using LIN bus channels external to MesSy. According to the number constraint described above, the number of CAN bus channels and LIN bus channels provided by the MesSy system itself and by the external SC card should meet the number of CAN bus channels and LIN bus channels required by the DUT and CMM, i.e. the total number of CAN bus channels provided should be greater than or equal to 9, and the number of LIN bus channels should be greater than or equal to 9. By subtracting the number of CAN bus channels provided by MesSy itself, the number of external extended CAN bus channels provided by the external SC card should be greater than or equal to 9-5 = 4, and the number of LIN bus channels should be greater than or equal to 9. According to an embodiment of the present application, one SC card may refer to supporting 5 CAN bus channels and 15 LIN bus channels at maximum, and then one SC card already satisfies the above calculated CAN and LIN bus channel resources. Thus, an SC card for external expansion of CAN and LIN bus channels CAN be added. Accordingly, in the LTT schematic, in addition to the drawing sheets corresponding to the test system (MesSy) power supply module, the CMM module, the DUT power supply module, and the like, respectively, the drawing sheets corresponding to the SC card power supply module and the drawing sheets corresponding to the conventional CAN bus communication module (excluding the SC card) respectively, including the extended CAN bus communication module and the extended LIN bus communication module of one SC card, are required.
If MesSy of MESSY II FD is used, only the 9 LIN bus channels required by the DUT need to be extended without any external extension of the CAN bus channels, since the 10 CAN bus channels supported by MesSy itself already meet the CAN bus channel resources required by both the DUT and the CMM. Through calculation, the LIN bus channel can still be provided using 1 SC card. Accordingly, in the LTT schematic, in addition to the drawing sheets corresponding to the test system (MesSy) power supply module, the CMM module, the DUT power supply module, and the like, respectively, the drawing sheets corresponding to the SC card power supply module and the drawing sheets corresponding to the conventional CAN bus communication module and the extended LIN bus communication module including one SC card are required.
In a second example, based on the acquired configuration parameters, one load box Loadbox of the LTT test items supports 3 devices under test DUTs being tested simultaneously and each DUT requires 3 CAN bus channels and 4 LIN bus channels.
DUTs in this LTT test project require a total of 3*3 =9 CAN bus channels and 4*3 =12 LIN bus channels. If MesSy I or MesSy II versions of MesSy are used, then there is an extra extension of MesSy external to at least 9+3-5 = 7 CAN bus channels and at least 12 LIN bus channels, since the CMMs internal to MesSy need to occupy a total of 3 CAN bus channels (1 per CMM, 3 DUTs are tested, 3 CMMs are required). Up to 5 CAN bus channels and 15 LIN bus channels are supported by 1 SC card, 2 SC cards are required to despread the CAN bus channels (where one SC card is already sufficient to provide the expansion requirements of the LIN bus channels). Correspondingly, in the LTT schematic, besides the drawing sheets corresponding to the test system (MesSy) power supply module, the CMM module, the DUT power supply module, and the like, the drawing sheets corresponding to the 2 SC card power supply modules and the drawing sheets corresponding to the conventional CAN bus communication module, the extended CAN bus communication module including two SC cards, and the extended LIN bus communication module including one SC card are required. If MesSy version MESSY II FD is used, mesSy internally removes CAN bus channels occupied by CMMs, and the CAN bus channels available for external use in MesSy are 10-3=7. Compared with the total number of 9 CAN bus channels required by the DUT, the number of the CAN bus channels is 2 less, and the quantity constraint CAN be met by only externally expanding one SC card in the LTT schematic diagram. Correspondingly, in the LTT schematic, besides the drawing sheets corresponding to the test system (MesSy) power supply module, the CMM module, the DUT power supply module, and the like, the drawing sheets corresponding to the 1 SC card power supply module and the drawing sheets corresponding to the conventional CAN bus communication module, the extended CAN bus communication module including one SC card, and the extended LIN bus communication module including one SC card are required.
In determining the configuration of the number of bus channels required and the configuration of the number of SC cards required in the LTT test project, the DUT and CMM are connected to the CAN bus primarily through MesSy and SC cards, and the DUT is connected to the LIN bus through SC cards. The specific bus channels to which the DUT and CMM are connected can be freely allocated on the premise that the number of bus channels meets the requirements. Since SC cards are used only for expansion of CAN and LIN bus channel communications, channels such as HSD, LSD, antenna and air conditioner are employed as output channels from the DUT to analog loads (e.g., resistors or motors) in the load box and related calculations from input channels to the DUT, regardless of the number constraints of CAN and LIN bus channels.
The determination of the type and number of other functional modules CAN be more easily accomplished by the configuration parameters of the LTT schematic acquired in step S110 than by the configuration of the SC card power module and the corresponding conventional or extended CAN bus communication module and/or conventional or extended LIN bus communication module, such as the number of external extended CAN bus channels and the number of LIN bus channels required for providing the LTT test item, determined by sub-steps S122a and S122b included in sub-step S122.
After determining various types of functional modules and the number thereof included in the LTT schematic to be generated in step S120, the method extracts functional module templates corresponding to the respective functional modules from the template database according to the functional modules and the number thereof in step S130, and then automatically arranges the corresponding number of functional module templates in at least one drawing sheet, thereby completing the automatic generation of the LTT schematic.
Step S130 may include a substep S131 of generating a drawing template, a substep S132 of extracting a corresponding function module template from the template database 190, a substep S133 of arranging the function module template on the drawing, and an optional substep S134 of expanding the drawing in case the existing drawing is insufficient to arrange all the corresponding number of function module templates.
Sub-step S131 first generates a drawing template. FIG. 2 illustrates a page template according to an embodiment of the application. The page template may be in the form of a page template in Microsoft corporation's Office Visio software, for example, with configuration parameters including format information such as the size, orientation, and origin of coordinates of the page template. For example, the page template is fixed using A3 paper and placed in the lateral direction. Then, coordinate axis information is set in the page template. Wherein, the upper left corner is taken as an origin A (0, 0) 201, the transverse right direction is taken as an x axis, the longitudinal downward direction is taken as a y axis, and the placement positions of all functional modules in the LTT schematic diagram to be generated are positioned according to the position coordinates on the coordinate axes.
The LTT schematics or graphical models of the graphical objects or elements of the devices or elements involved in the various functional modules therein, and/or the collection of devices or elements included in the functional modules and/or channels, the signal and/or electrical connection relationships between these devices or elements, and other relevant drawing set parameters may be predefined and stored in the respective databases. The database may include a graphic model database storing graphic objects or elements corresponding to devices or elements, a template database 190 storing function module templates corresponding to function modules, and the like. According to an embodiment of the present application, a predefined function module template for various types of function modules that may be involved in the LTT schematic to be generated is included in the template database 190. The function module template includes not only a combination of devices or elements included in the function module, but also a connection relationship between the devices or elements, a connection relationship between the function module and the outside of the module, and related drawing setting parameters such as a size, a shape, and the like of the function module template. The drawing setting parameters include, among others, graphic model styles and formats of graphic objects or elements of various devices or elements, such as styles and formats of graphic models of connection relations represented in a form of a wire or the like, spatial relations (e.g., relative or absolute positions) in which various graphic models are placed, symbol marks associated with these graphic models, and the like. Functional module templates associated with LTT schematic generation are predefined based on the drawing criteria and principles of the LTT schematic, and need to conform to the design specifications of the LTT test system and be specific to schematic drawing of the LTT test project. As described above, the functional module may relate to the channel function of one or more channels in the LTT test item, and thus the functional module template may be composed of channel templates of one or more channels. According to an embodiment, the function modules may be set to implement the function of one channel such that the details of a corresponding number of the plurality of function module templates are automatically arranged in at least one drawing sheet as illustrated in the function module templates of the function modules corresponding to the single channel in the following description.
The template database 190 may be stored in the library file in the form of a Visio template. The template database 190 may also include templates for graphical models of graphical objects or elements and graphical models of connection relationships for all devices and elements that may be used in the LTT test project. The template database 190 may also store the list of configuration parameters displayed in the GUI for retrieving configuration parameters in step S110 and/or the drawing template generated in sub-step S131. The files storing the template database 190 may be located in the same directory as the GUI tool that generated the LTT schematic. According to an embodiment of the present application, the template database 190 may store only a function module template database corresponding to a function module, templates of graphic models of devices and elements included in the function module and graphic models of connection relations, and/or page templates using other template files or library files.
After determining the page templates, the method of the present application extracts the determined or preset page templates in sub-step S132, and extracts function module templates corresponding to the determined various types of function modules from the template database 190 so as to automatically arrange the function module templates in the next sub-step S133.
As shown in fig. 2, function module templates 210 to 230 corresponding to three function modules of the same type are arranged on the page template. The functional module templates 210, 220, and 230 may be identical or different. According to embodiments of the present application, not only may corresponding function module templates of the same function module be arranged on the corresponding one or more pages, corresponding function module templates of different function modules of the same type may also be arranged on the corresponding one or more pages, even corresponding function module template pages of a plurality of function modules of the same or different types related to a certain function or functions of the LTT test item may be arranged on the corresponding one or more pages. These corresponding pages may be marked using function modules, such as CAN bus communication module pages, HSD output module pages, etc.
The function module templates corresponding to the function modules related to the channels (functions) are hereinafter exemplified as being arranged in the corresponding one or more drawing sheets. The placement of one functional module template 210 on a drawing sheet may be accomplished by placing the upper left corner coordinates of the functional module template as a reference point to the position where the coordinates of the drawing sheet template are (1, 1). If the functional modules that can be arranged together on the drawing sheet also comprise 220 and 230, i.e. there are 3 functional modules of this type, the corresponding functional module templates 210 to 230 of the three functional modules can be arranged side by side on the drawing sheet. Assuming that the function module templates 210 to 230 are rectangles having a length of 10 coordinate units and a width of 2 coordinate units, the upper left corner coordinate reference points of the function module templates 210 to 230 arranged horizontally side by side to the right on the drawing sheet are (1, 1), (1, 4) and (1, 7), respectively.
Fig. 3 then illustrates substep S133 of arranging a corresponding number of functional module templates on a page for a plurality of functional modules, taking as an example the HSD output module templates of HSD output modules corresponding to the high-side HSD channels. Functional template templates for HSD channels may be extracted from template database 190, as shown at 301. According to the configuration parameters acquired in step S110, the number of HSD channels is 5, and then the number of HSD output modules in the LTT schematic to be generated is 5 (each HSD output module corresponds to a function of one HSD channel). Thus, 5 predefined HSD output module templates may be extracted from template database 190 for placement in a template arrangement as shown at 302. The 5 HSD output module templates shown in fig. 3 are identical, and when the plurality of HSD output modules in the LTT schematic are different according to the requirements of the LTT test item, the corresponding predefined HSD output module templates may be extracted from the template database 190 for combination for placement in a drawing sheet, respectively.
For example, a corresponding number of conventional CAN bus communication module templates and extended CAN bus communication module templates (e.g., one SC card in each extended CAN bus communication module template) for the respective number of conventional CAN bus communication modules and extended CAN bus communication modules may be extracted from the template database 190 and combined together for placement in a drawing sheet, as required by the LTT test project. As shown in fig. 4, the LTT schematic diagram of the LTT test item includes two CAN bus communication modules, namely a conventional CAN bus communication module (1 in number) and an extended CAN bus communication module (1 in number). The conventional CAN bus communication module templates 410 extracted from the template database 190 include CAN interfaces 411 and 412 directly connected in a CAN bus, and the extracted extended CAN bus communication module templates 420 include CAN interfaces 411 and 412 indirectly connected in a CAN bus via the SC card 423 for the extended CAN bus channel. The CAN bus communication module templates 410 and 420 may be combined and arranged side-by-side in the manner shown in fig. 4 on the drawing sheet associated with the CAN bus communication module.
Likewise, for other functional modules, such as MesSy power modules, SC card power modules, LAN bus communication templates, etc., the corresponding functional module templates may also be extracted from the template database 190 and a corresponding number of functional module templates may be combined or otherwise arranged in a corresponding one or more pages according to the number of functional modules determined or calculated by the requirements of the LTT test project.
The optional substep S134 is for a case where the plurality of function module templates associated therewith cannot be arranged on the corresponding one or more existing drawing sheets. Still taking HSD output modules as an example, if the LTT test item is indicated in the entered configuration parameters to include multiple HSD channels, then a further determination is made as to whether the existing page needs to be expanded with page templates in substep S134 to accommodate more HSD output module templates (each HSD output module corresponds to a function of one HSD channel). For example, according to the definition at the time the page template is generated in step S131, one page template may accommodate up to 8 HSD channels (i.e., 8 HSD output module templates). It is determined whether the original single page template needs to be expanded into a page of two or more consecutive page templates based on the number of HSD channels acquired for user input, i.e., the HSD channels are arranged by expanding the original page comprising at least one page template into a page comprising two or more (consecutive) page templates based on the page template. For example, when the HSD channel number is 10, the HSD output module templates corresponding to the 9 th and 10 th HSD channels (HSD output modules) exceeding the upper limit of 8 numbers need to be arranged by creating an expanded page template based on the page template on the basis of the existing page. For example, the expanded page may be expanded laterally as indicated by arrow 202 shown in FIG. 2. The arrangement of the function module templates and the expansion of the corresponding pages can also be implemented in a similar manner when the number of channels included in other function modules (e.g., input channels, LSD channels, antenna channels, and air conditioning motor channels) exceeds the upper limit of the number that can be accommodated by the page templates.
In the course of generating the LTT schematic, a map page of the schematic corresponding thereto is generated for each or each type of functional module, respectively. For example, the power supply module and the CAN bus communication module are respectively drawn on different drawing pages. The reason for this way of drawing the divided pages is that the graphic objects or elements corresponding to all the devices or elements in the function module templates corresponding to so many function modules and the graphic connection relations between them cannot be arranged in the same page, so the drawing of the divided pages can facilitate the view of the schematic diagram.
After obtaining the pages corresponding to all the functional modules, the pages are combined to finally obtain the LTT schematic diagram.
After the generation of the LTT schematic is automatically completed, the schematic may be manually adjusted by a human in an optional step S140. The manual adjustment may include receiving a modification indication from a user and modifying the LTT schematic based on the modification indication to generate an updated LTT schematic. Manual adjustments include further allocation of resources in the LTT test item, such as specific DUT pin and load resistance settings, etc. The manual adjustment may also include checking whether there is an error in the generated LTT schematic and a corrective action when there is an error.
Further, the generated LTT principle drawing may be stored in a file for later use in optional step S150 for reference. The schematic file may take the form of a Visio template, for example, and be stored in the same directory as the GUI tool that generated the LTT schematic.
By adopting the method for generating the LTT schematic diagram, the types and the number of the functional modules contained in the LTT schematic diagram can be determined according to the test requirements of the LTT test items and the requirements of various application scenes and working environments of the equipment to be tested. The corresponding function module templates are extracted from the module database according to the determined function modules, so that format confusion caused by the fact that different plotters bring personal drawing styles into repeated drawing and manual drawing can be avoided. The elements and the connection relations thereof related to the LTT test items are predefined in the function module templates, so that the elements and the connection relations thereof inside the function modules do not need to be analyzed, calculated and configured again when a plurality of function module templates are arranged, the drawing time is remarkably saved, and the drawing efficiency is improved. The scheme for automatically drawing the schematic diagram can allocate resources to the LTT test project, quicken the development progress of the project and is convenient for later management and maintenance. For example, the automated schematic generation operation may complete a majority of the content requiring manual drawing work (such as 70% of the work load corresponding to the drawing process).
Fig. 5 illustrates an exemplary structure of an apparatus 500 for generating an LTT schematic according to an embodiment of the application. The device 500 includes a parameter obtaining unit 510 for obtaining configuration parameters of the LTT schematic, and a generating unit 520 for determining, according to the configuration parameters, functional modules and the number thereof included in the LTT schematic to be generated, extracting, according to the functional modules and the number thereof, functional module templates corresponding to the functional modules in a template database, and automatically arranging the corresponding number of functional templates in at least one drawing page to generate the LTT schematic. The parameter obtaining unit 510 may also complete further details of step S110 described hereinabove as shown in fig. 1, while the generating unit 520 may complete further details of at least one of steps S120 to S150 as shown in fig. 1. Wherein the same or similar parts as above are not described in detail.
It should be noted that while several modules or units of the method and system for generating an LTT schematic are mentioned in the detailed description above, such partitioning is not mandatory. Indeed, the features and functions of two or more modules or units described above may be embodied in one module or unit in accordance with embodiments of the application. Conversely, the features and functions of one module or unit described above may be further divided into a plurality of modules or units to be embodied. The components shown as modules or units may or may not be physical units, may be located in one place, or may be distributed across multiple network elements. Some or all of the modules may be selected according to actual needs to achieve the purposes of the present application. Those of ordinary skill in the art will understand and implement the present application without undue burden.
In an exemplary embodiment of the application, a computer-readable storage medium is also provided, on which a computer program is stored, the program comprising executable instructions which, when executed by, for example, a processor, may implement the steps of the method for generating an LTT schematic as described in any of the embodiments above. In some possible implementations, the aspects of the application may also be implemented in the form of a program product comprising program code for causing a terminal device to carry out the steps according to the various exemplary embodiments of the application as described in the method for generating an LTT schematic diagram of this specification, when the program product is run on the terminal device.
The program product for implementing the above-described method according to an embodiment of the present application may employ a portable compact disc read-only memory (CD-ROM) and include program code, and may be run on a terminal device, such as a personal computer. However, the program product of the present application is not limited thereto, and in this document, a readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
The program product may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium can be, for example, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples (a non-exhaustive list) of a readable storage medium include an electrical connection having one or more wires, a portable 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 disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
The computer readable storage medium may include a data signal propagated in baseband or as part of a carrier wave, with readable program code embodied therein. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A readable storage medium may also be any readable medium that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a readable storage medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Program code for carrying out operations of the present application may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, C++ or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device, partly on a remote computing device, or entirely on the remote computing device or server. In the case of remote computing devices, the remote computing device may be connected to the user computing device through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computing device (e.g., connected via the Internet using an Internet service provider).
In an exemplary embodiment of the application, an electronic device is also provided, which may include a processor, and a memory for storing executable instructions of the processor. Wherein the processor is configured to perform the steps of the method for generating an LTT schematic in any of the above embodiments via execution of the executable instructions.
Those skilled in the art will appreciate that the various aspects of the application may be implemented as a system, method, or program product. Accordingly, aspects of the present application may take the form of an entirely hardware embodiment, an entirely software embodiment (including firmware, micro-code, etc.) or an embodiment combining hardware and software aspects that may be referred to herein collectively as a "circuit," module "or" system.
An electronic device 600 according to this embodiment of the application is described below with reference to fig. 6. The electronic device 600 shown in fig. 6 is merely an example, and should not be construed as limiting the functionality and scope of use of embodiments of the present application.
As shown in fig. 6, the electronic device 600 is in the form of a general purpose computing device. The components of electronic device 600 may include, but are not limited to, at least one processing unit 610, at least one memory unit 620, a bus 630 connecting the different system components (including memory unit 620 and processing unit 610), a display unit 640, and the like.
Wherein the storage unit stores program code that is executable by the processing unit 610 such that the processing unit 610 performs steps according to various exemplary embodiments of the present application described in the methods of the present specification for generating LTT schematics. For example, the processing unit 610 may perform the steps as shown in fig. 1.
The memory unit 620 may include readable media in the form of volatile memory units, such as Random Access Memory (RAM) 6201 and/or cache memory unit 6202, and may further include Read Only Memory (ROM) 6203.
The storage unit 620 may also include a program/utility 6204 having a set (at least one) of program modules 6205, such program modules 6205 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each or some combination of which may include an implementation of a network environment.
Bus 630 may be a local bus representing one or more of several types of bus structures including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or using any of a variety of bus architectures.
The electronic device 600 may also communicate with one or more external devices 700 (e.g., keyboard, pointing device, bluetooth device, etc.), one or more devices that enable a user to interact with the electronic device 600, and/or any device (e.g., router, modem, etc.) that enables the electronic device 600 to communicate with one or more other computing devices. Such communication may occur through an input/output (I/O) interface 650. Also, electronic device 600 may communicate with one or more networks such as a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network, such as the Internet, through network adapter 660. The network adapter 660 may communicate with other modules of the electronic device 600 over the bus 630. It should be appreciated that although not shown in the figures, other hardware and/or software modules may be used in connection with electronic device 600, including, but not limited to, microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, data backup storage systems, and the like.
From the above description of embodiments, those skilled in the art will readily appreciate that the example embodiments described herein may be implemented in software, or may be implemented in software in combination with the necessary hardware. Thus, the technical solution according to the embodiments of the present application may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (may be a CD-ROM, a usb disk, a mobile hard disk, etc.) or on a network, and includes several instructions to cause a computing device (may be a personal computer, a server, or a network device, etc.) to perform the method for generating LTT schematics according to the embodiments of the present application.
Other embodiments of the application will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure herein. This application is intended to cover any variations, uses, or adaptations of the application following, in general, the principles of the application and including such departures from the present disclosure as come within known or customary practice within the art to which the application pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the application being indicated by the following claims.

Claims (8)

1. A method of generating a life cycle tester LTT schematic, comprising:
acquiring configuration parameters of the LTT schematic diagram to be generated;
determining the functional modules and the quantity thereof included in the LTT schematic diagram to be generated according to the configuration parameters, and
Extracting function module templates corresponding to the function modules from a template database according to the function modules and the number thereof, and automatically arranging the corresponding number of the function module templates in at least one drawing page to generate the LTT schematic diagram;
Wherein the template database comprises predefined function module templates of the function modules involved in the LTT schematic diagram, and the function module templates comprise elements forming the function modules and connection relations among the elements;
the configuration parameters comprise a test system version, the number of devices to be tested and the number of bus channels, and the functional modules comprise a bus communication module with an SC card and a bus communication module without the SC card;
According to the configuration parameters, determining the functional modules and the number thereof included in the LTT schematic to be generated further comprises:
determining the number constraint of the bus channels according to the configuration parameters;
determining the number of bus communication modules without the SC card and the number of bus communication modules with the SC card according to the number constraint;
the number constraint includes a total number of required bus channels determined by the number of devices under test and the number of bus channels, a number of bus channels to be occupied by a test system determined by the test system version, and a number of bus channels to be maximally supported by the test system determined by the test system version.
2. The method of claim 1, wherein the configuration parameters include at least one of:
The system comprises a test system version, the number of devices to be tested, power supply parameters, analog signal input parameters, PWM signal input parameters, digital signal input parameters, the number of CAN bus channels, the number of LIN bus channels, the number of high-level side driver channels, the number of low-level side driver channels, the number of antenna channels and the number of air conditioner motor channels.
3. The method of claim 1, wherein the functional module comprises at least one of:
The system comprises a test system power supply module, a current test module CMM, a serial control SC card power supply module, a load layout module, a device under test DUT power supply module, a CAN communication module, a LIN communication module, an analog signal input module, a digital signal input module, a PWM signal input module, a high-level side output module, a low-level side output module, an antenna module and an air conditioner motor module.
4. The method of claim 1, wherein automatically arranging a corresponding number of the function module templates in at least one drawing page further comprises:
extracting a preset drawing template;
and automatically arranging a corresponding number of the function module templates on the page templates, and expanding the page templates to finish the arrangement of the corresponding number of the function module templates when the arrangement cannot be finished on a single page template.
5. The method as recited in claim 1, further comprising:
After generating the LTT schematic, receiving a modification indication of a user, and modifying the LTT schematic according to the modification indication to generate an updated LTT schematic.
6. An apparatus for generating an LTT schematic, comprising:
A parameter acquisition unit configured to acquire configuration parameters of the schematic diagram to be generated;
The generating unit is configured to determine the functional modules and the quantity thereof included in the LTT schematic diagram to be generated according to the configuration parameters, extract functional module templates corresponding to the functional modules from a template database according to the functional modules and the quantity thereof, and automatically arrange the corresponding quantity of the functional module templates in at least one drawing page so as to generate the LTT schematic diagram;
Wherein the template database comprises predefined function module templates of the function modules involved in the LTT schematic diagram, and the function module templates comprise elements forming the function modules and connection relations among the elements;
the configuration parameters comprise a test system version, the number of devices to be tested and the number of bus channels, and the functional modules comprise a bus communication module with an SC card and a bus communication module without the SC card;
According to the configuration parameters, determining the functional modules and the number thereof included in the LTT schematic to be generated further comprises:
determining the number constraint of the bus channels according to the configuration parameters;
determining the number of bus communication modules without the SC card and the number of bus communication modules with the SC card according to the number constraint;
the number constraint includes a total number of required bus channels determined by the number of devices under test and the number of bus channels, a number of bus channels to be occupied by a test system determined by the test system version, and a number of bus channels to be maximally supported by the test system determined by the test system version.
7. A computer readable storage medium having stored thereon a computer program comprising executable instructions which, when executed by a processor, implement the method according to any of claims 1 to 5.
8. An electronic device, comprising:
Processor, and
A memory for storing executable instructions of the processor;
Wherein the processor is configured to execute the executable instructions to implement the method according to any one of claims 1 to 5.
CN202210578855.7A 2022-05-25 2022-05-25 Method, apparatus and storage medium for generating LTT schematic Active CN114972576B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210578855.7A CN114972576B (en) 2022-05-25 2022-05-25 Method, apparatus and storage medium for generating LTT schematic

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210578855.7A CN114972576B (en) 2022-05-25 2022-05-25 Method, apparatus and storage medium for generating LTT schematic

Publications (2)

Publication Number Publication Date
CN114972576A CN114972576A (en) 2022-08-30
CN114972576B true CN114972576B (en) 2024-11-29

Family

ID=82955470

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210578855.7A Active CN114972576B (en) 2022-05-25 2022-05-25 Method, apparatus and storage medium for generating LTT schematic

Country Status (1)

Country Link
CN (1) CN114972576B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110610052A (en) * 2019-09-20 2019-12-24 中国科学院软件研究所 PCB automatic wiring system and method
CN113947644A (en) * 2021-10-15 2022-01-18 中国核动力研究设计院 Automatic drawing system of nuclear power plant safety level electrical cabinet hardware drawing

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5833501B2 (en) * 2012-06-04 2015-12-16 株式会社アドバンテスト Test system
CN108090159A (en) * 2017-12-12 2018-05-29 福建中金在线信息科技有限公司 A kind of generation method of Website page, device, electronic equipment and storage medium
CN111651798B (en) * 2020-05-29 2023-08-11 苏州华兴源创科技股份有限公司 Electrical schematic diagram modularized design method and system
CN112231829B (en) * 2020-09-27 2024-04-12 西安中线软件技术有限公司 Method and device for drawing and checking management of vehicle graph and electronic equipment

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110610052A (en) * 2019-09-20 2019-12-24 中国科学院软件研究所 PCB automatic wiring system and method
CN113947644A (en) * 2021-10-15 2022-01-18 中国核动力研究设计院 Automatic drawing system of nuclear power plant safety level electrical cabinet hardware drawing

Also Published As

Publication number Publication date
CN114972576A (en) 2022-08-30

Similar Documents

Publication Publication Date Title
US7945894B2 (en) Implementing a design flow for a programmable hardware element coupled to a processor
CN103294047B (en) For diagnosing the method and system of vehicle
CN104700962B (en) Method for manufacturing wirning harness
CN101165694A (en) Method and apparatus for optimized placement and verification of I/O blocks in an application specific integrated circuit
CN105143895B (en) Test class precompiled header is automatically generated from interactive graphical user interface
US7552024B2 (en) Circuit board diagnostic operating center
US11170135B2 (en) Method, apparatus, and device for generating a visual model layout of a space
JP2013186683A (en) Electromagnetic noise analysis method and device
CN113342692B (en) Automatic test case generation method and device, electronic equipment and storage medium
US20060064680A1 (en) Extensible internal representation of systems with parallel and sequential implementations
CN103885341A (en) Performance analysis system and method based on automobile performance simulator
CN114972576B (en) Method, apparatus and storage medium for generating LTT schematic
US6463574B1 (en) Apparatus and method for inserting repeaters into a complex integrated circuit
US7110929B1 (en) System and method of providing additional circuit analysis using simulation templates
US8655635B2 (en) Creating and controlling a model of a sensor device for a computer simulation
CN113466733A (en) Power performance testing method and device, electronic equipment and storage medium
US7681156B2 (en) Transmission circuit simulator and transmission circuit simulation program storage medium
US20030025490A1 (en) Method for verifying hardware circuits through simulation
US10816600B1 (en) Protocol analysis and visualization during simulation
US7594212B1 (en) Automatic pin placement for integrated circuits to aid circuit board design
CN110941932B (en) Demand modeling and verifying method for hardware logic design
CN112286785B (en) Abnormality detection method and device for user interface
CN110704252A (en) Automatic testing device and testing method based on cloud dynamic management
CN115758976B (en) Method for comparing device differences in PDK, electronic equipment and computer readable medium
US10380292B1 (en) Systems and methods for finite difference time domain simulation of an electronic design

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
GR01 Patent grant
GR01 Patent grant