A logic prototype component determination method, device, equipment and medium
By pre-storing parameters and verification rules in the logic prototype, the selection of components is completed automatically, solving the problems of low efficiency and low accuracy of traditional manual selection, and realizing efficient and accurate component verification.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- CRRC QINGDAO SIFANG CO LTD
- Filing Date
- 2023-09-22
- Publication Date
- 2026-06-26
AI Technical Summary
Traditional manual component selection methods are inefficient and inaccurate in vehicle-level control circuits, and are easily affected by human factors.
By pre-storing standard characteristic parameters and equipment load characteristic parameters in the logic prototype, the loop parameters of the components in the current loop are automatically matched and obtained, and the selection of components is determined according to the verification rules.
It improves the efficiency and accuracy of component selection, reduces interference from human factors, and realizes automated component verification.
Smart Images

Figure CN117236034B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of component selection technology, and in particular to a method, apparatus, equipment and medium for determining components of a logic prototype. Background Technology
[0002] With the rapid development of rail transit equipment systems, people have put forward higher requirements for the accuracy and efficiency of component selection and verification. Traditional verification methods involve manual selection of various components. However, the control circuit of the whole vehicle involves a wide variety and a large number of components. Therefore, manual selection is labor-intensive, time-consuming, and easily affected by human factors, resulting in low selection accuracy.
[0003] Therefore, improving the efficiency and accuracy of component selection is a technical problem that urgently needs to be solved by those in this field. Summary of the Invention
[0004] The purpose of this invention is to provide a method, apparatus, equipment, and medium for determining components in a logic prototype, so as to solve the technical problems of low efficiency and low accuracy in component selection.
[0005] To address the aforementioned technical problems, this invention provides a method for determining the components of a logic prototype, comprising:
[0006] Obtain the device load and components to be verified in the logic prototype;
[0007] The component to be verified is matched with standard characteristic parameters, and the device load is matched with device load characteristic parameters; wherein, the standard characteristic parameters and the device load characteristic parameters are parameters pre-stored in the logic prototype;
[0008] After a match is detected, the loop parameters of the component to be verified in the current loop of the logic prototype are obtained; wherein, the loop parameters are determined based on the current characteristics of the device load and the device load characteristic parameters that the device load matches.
[0009] The selection of the component to be verified is determined according to the verification rules between the standard characteristic parameters and the loop parameters of the component to be verified, which are pre-stored in the logic prototype.
[0010] Preferably, the step of matching the component to be verified with the standard characteristic parameters includes:
[0011] Obtain the model number of the component to be verified;
[0012] Obtain a target component with the same model as the component to be verified from the component parameter library of the logic prototype;
[0013] The component to be verified is matched with the standard characteristic parameters corresponding to the target component.
[0014] Preferably, matching the device load to the device load characteristic parameters includes:
[0015] Obtain the device details of the device load; wherein, the device details include at least the device model, connector code, and pin number;
[0016] The target device load is determined from the device load parameter library of the logic prototype based on the device details.
[0017] The device load is matched with the device load characteristic parameters corresponding to the target device load.
[0018] Preferably, before obtaining the loop parameters of the component to be verified in the current loop of the logic prototype, the method further includes:
[0019] If, within a preset time period, it is detected that the component to be verified matches the standard characteristic parameter, or that the device load matches the device load characteristic parameter, no component to be verified that does not match the standard characteristic parameter or no device load that does not match the device load characteristic parameter is detected, then the step of obtaining the loop parameter of the component to be verified in the current loop of the logic prototype is entered.
[0020] From the moment the component to be verified is detected to match the standard characteristic parameters, or from the moment the device load is detected to match the device load characteristic parameters, if within the preset time period, a component to be verified that does not match the standard characteristic parameters or a device load that does not match the device load characteristic parameters is detected, then it is determined whether there is a list of components to be verified that do not match the standard characteristic parameters in the component parameter library of the logic prototype, or whether there is a list of device loads that do not match the device load characteristic parameters in the device load parameter library of the logic prototype.
[0021] If not, add the details of the component to be verified that does not match the standard characteristic parameters to the component parameter library, or add the details of the device load that does not match the device load characteristic parameters to the device load parameter library; and proceed to the steps of matching the component to be verified with the standard characteristic parameters and matching the device load with the device load characteristic parameters.
[0022] If so, re-enter the steps of matching the component to be verified with the standard characteristic parameters and matching the device load with the device load characteristic parameters.
[0023] Preferably, the loop parameters include the voltage value of each contact, the minimum current value among all operating conditions, and the maximum current value among all operating conditions; obtaining the loop parameters of the component to be verified in the current loop of the logic prototype includes:
[0024] Set the rated current attribute of the pins of the device load;
[0025] Starting from the simulation of the current circuit, obtain the pins whose pin states have changed among all the pins of the device load;
[0026] If a pin whose pin state has changed is detected to have the rated current attribute, then update the current value of the direct connection line where the pin whose pin state has changed is located.
[0027] After the simulation is completed, the voltage value of each contact point, the minimum current value among all operating conditions, and the maximum current value among all operating conditions are obtained.
[0028] Alternatively, starting from the simulation of the current circuit, if a contact is detected to be open, the current value of the direct connection line where the pin on the energized side is located is updated; and the process proceeds to the step of obtaining the voltage value of each contact, the minimum current value among all operating conditions, and the maximum current value among all operating conditions after the simulation is detected to be closed.
[0029] Preferably, updating the current value of the directly connected line includes:
[0030] Obtain the current value and information of each power pin in the direct connection line;
[0031] If the power pin is a contact pin, obtain the current value of the contact pin;
[0032] The current value of the contact pin is updated from the current value to either the minimum current value or the maximum current value among all operating conditions, based on the relationship between the current value and the minimum current value or the maximum current value among all operating conditions, in order to update the current value of the direct connection line.
[0033] Preferably, after updating the current value of the directly connected line, the method further includes: obtaining the update time of the current value;
[0034] After detecting the end of the simulation and obtaining the voltage value of each contact, the minimum current value among the current values corresponding to all operating conditions, and the maximum current value among the current values corresponding to all operating conditions, the method further includes:
[0035] The system stores the voltage value of each contact, the minimum current value among all operating conditions, the maximum current value among all operating conditions, and the update time of the current value.
[0036] To address the aforementioned technical problems, the present invention also provides a component determination device for a logic prototype, comprising:
[0037] The first acquisition module is used to acquire the device load and the components to be verified in the logic prototype;
[0038] The matching module is used to match the component to be verified with standard characteristic parameters and to match the device load with device load characteristic parameters; wherein, the standard characteristic parameters and the device load characteristic parameters are parameters pre-stored in the logic prototype;
[0039] The second acquisition module is used to acquire the loop parameters of the component to be verified in the current loop of the logic prototype after a match is detected; wherein the loop parameters are determined based on the current characteristics of the device load and the device load characteristic parameters matched by the device load.
[0040] The determination module is used to determine the selection of the component to be verified based on the verification rules between the standard characteristic parameters and the loop parameters of the component to be verified, which are pre-stored in the logic prototype.
[0041] To address the aforementioned technical problems, the present invention also provides a component determination device for a logic prototype, comprising:
[0042] Memory, used to store computer programs;
[0043] A processor is used to implement the steps of the above-described method for determining the components of a logic prototype when executing the computer program.
[0044] To address the aforementioned technical problems, the present invention also provides a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the steps of the above-described method for determining the components of a logic prototype.
[0045] The component determination method for a logic prototype provided by this invention includes: acquiring the device load and the component to be verified in the logic prototype; matching the component to be verified with standard characteristic parameters and matching the device load with device load characteristic parameters; after detecting a match, acquiring the loop parameters of the component to be verified in the current loop of the logic prototype; wherein the loop parameters are determined based on the current characteristics of the device load and the device load characteristic parameters matched to the device load; and determining the selection of the component to be verified according to the verification rules between the standard characteristic parameters and the loop parameters of the component to be verified pre-stored in the logic prototype. Compared with the previous method of manually selecting components, the method provided by this invention pre-stores standard characteristic parameters and device load characteristic parameters in the logic prototype, enabling the matching of parameters between components and device load to be verified within the logic prototype. After obtaining the loop parameters, since the logic prototype has pre-stored the verification rules between the standard characteristic parameters of the components to be verified and the loop parameters, the logic prototype can directly and automatically complete the verification of the component selection according to the verification rules, which greatly improves the efficiency of component selection. Moreover, compared with the manual selection method, the method provided by this invention is not easily affected by human factors, which greatly improves the accuracy of component selection.
[0046] In addition, the present invention also provides a component determination device for a logic prototype, a component determination equipment for a logic prototype, and a computer-readable storage medium, which have the same or corresponding technical features as the aforementioned component determination method for a logic prototype, and have the same effects. Attached Figure Description
[0047] To more clearly illustrate the embodiments of the present invention, the accompanying drawings used in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0048] Figure 1 A flowchart illustrating a method for determining components in a logic prototype, provided as an embodiment of the present invention;
[0049] Figure 2 This is a schematic diagram illustrating a verification rule configuration provided in an embodiment of the present invention;
[0050] Figure 3 A flowchart illustrating an automatic component selection verification method based on a logic prototype, provided as an embodiment of the present invention;
[0051] Figure 4 A schematic diagram of a direct connection line provided in an embodiment of the present invention;
[0052] Figure 5A flowchart of a method for obtaining loop parameters provided in an embodiment of the present invention;
[0053] Figure 6 A flowchart illustrating a method for updating a directly connected line according to an embodiment of the present invention;
[0054] Figure 7 A structural diagram of a component determination device for a logic prototype provided in an embodiment of the present invention;
[0055] Figure 8 A structural diagram of a component determination device for a logic prototype provided in another embodiment of the present invention. Detailed Implementation
[0056] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the protection scope of the present invention.
[0057] The core of this invention is to provide a method, apparatus, equipment, and medium for determining components of a logic prototype, so as to solve the technical problems of low efficiency and low accuracy in component selection.
[0058] The application scenarios of the component selection method provided by this invention are not limited. For example, if the vehicle-level control circuit involves a wide variety and large number of components, the method provided by this invention can be used to automatically select components, thereby improving the efficiency and accuracy of component selection.
[0059] To enable those skilled in the art to better understand the present invention, the present invention will be further described in detail below with reference to the accompanying drawings and specific embodiments. Figure 1 A flowchart illustrating a method for determining components in a logic prototype, as provided in an embodiment of the present invention, is shown below. Figure 1 As shown, the method includes:
[0060] S10: Obtain the device load and components to be verified in the logic prototype;
[0061] S11: Match the components to be verified with standard characteristic parameters and match the device load with device load characteristic parameters; wherein, the standard characteristic parameters and the device load characteristic parameters are parameters that are pre-stored in the logic prototype;
[0062] S12: After a match is detected, obtain the loop parameters of the component to be verified in the current loop of the logic prototype; wherein, the loop parameters are determined based on the current characteristics of the device load and the device load characteristic parameters that match the device load.
[0063] S13: Determine the selection of the component to be verified based on the verification rules between the standard characteristic parameters and loop parameters of the component to be verified, which are pre-stored in the logic prototype.
[0064] A pre-built logic prototype is acquired, and its components are automatically identified and categorized according to predefined rules, such as relay coils, relay contacts, contactor coils, contactor contacts, circuit breakers, and switch contacts. The components to be verified are not limited and are determined based on the actual situation. While component parameter matching can be done manually, given the large number of components involved in the vehicle-level control circuit, to improve the efficiency of parameter matching, in one embodiment, the standard characteristic parameters for matching the components to be verified include:
[0065] Obtain the model number of the component to be verified;
[0066] Obtain the target component with the same model number as the component to be verified from the component parameter library of the logic prototype;
[0067] Match the component to be verified with the standard characteristic parameters corresponding to the target component.
[0068] Specifically, the detailed list of components to be verified is imported into the logic prototype. This list includes component models, which can be matched with models in the component parameter library. This allows for automatic retrieval of parameters for components of the same model from the library based on the component model. The component parameter library contains component models and characteristic parameters. Components in the logic prototype are queried for their characteristic parameters from the component parameter library based on their model, enabling automatic retrieval of parameters for components of the same model from the library based on the component model. For example, the relay parameter library contains the following parameters: Model: RZDR-1; Coil: Rated voltage (V) DC110, fluctuation range 70%~110%, Minimum pull-in voltage (V): 77, Release voltage (V): 11, Withstand voltage (V): 1500, Resistance (Ω): 4700; Contact: Rated voltage (V): DC110, Rated current (A): 0.5, Minimum current (mA): 1. In implementation, one or more parameters can be verified according to the verification rules. When the model of the relay to be verified is RZDR-1, the relay with model number RZDR-1 is found in the component parameter library as the target component. The parameters of the relay to be verified are matched with those of the relay with model number RZDR-1 in the component parameter library to achieve the matching of the parameters of the component to be verified.
[0069] Similarly, in implementation, matching the equipment load to the equipment load characteristic parameters includes:
[0070] Obtain the device details of the device load; the device details shall include at least the device model, connector code, and pin number;
[0071] The target equipment load is determined from the equipment load parameter library of the logic prototype based on the equipment details;
[0072] Match the device load to the device load characteristic parameters corresponding to the target device load.
[0073] Configure a device load parameter library. The feature library contains the device model and the load characteristics corresponding to the input and output interfaces, such as the current and voltage characteristics corresponding to each connector pin. Import the device details into the logic prototype. The device details include the device model, connector code, and pin number, which can be matched with the model, connector code, and pin number in the device load parameter library. This allows the device parameters of the same model, connector code, and pin number in the device load parameter library to be automatically retrieved.
[0074] To facilitate component selection, custom verification rules are stored in the logic prototype. These rules are not limited and are determined based on actual conditions. After storing the verification rules in the logic prototype, the verification rule library can be continuously enriched and improved, allowing for convenient direct retrieval of verification rule configurations later. Each verification rule includes configuration verification items, configuration table fields, operations, and configuration verification expressions. Configuration verification items include the circuit's rated voltage, minimum current, and maximum current; configuration table fields are parameter items from the component library (including relay coils). Operations in the verification rules include numerical values (0-9), numerical operations (addition, subtraction, multiplication, division), comparison operations (greater than, less than, equal to, greater than or equal to, less than or equal to), logical operations (AND, OR, NOT), and other symbols (decimal point, parentheses), used to configure verification expressions. Circuit parameters and component library parameters are called, and verification rule expressions are formed using the operators in the verification rules for verification. In practice, different types of verification rules can be constructed based on the configuration verification items, configuration table fields, operations, and configuration verification expressions in the verification rules, and multiple verification rules can be configured simultaneously for verification. For example, the verification rules generated for a relay can be as follows: Verification Rule 1, which includes the verification item: minimum allowable current verification; expression: %1 > %2; Verification Rule 2, which includes the verification item: rated current verification; expression: %1 < %2. Here, %1 represents the maximum current, and %2 represents the rated current of the relay. Figure 2 This is a schematic diagram of a verification rule configuration provided in an embodiment of the present invention, as shown below. Figure 2 As shown, in the verification rules, the verification rules can be configured by selecting verification object A, selecting participating verification object B, and logical operation relationships (addition, subtraction, multiplication, division, greater than, equal to, less than, greater than or equal to, less than or equal to). The configured verification rules can be A≥B, or A<B, or A=B+2.
[0075] Run the component selection verification simulation program to automatically verify the components to be verified one by one. Using verification rule expressions, calculate and determine whether the component selection matches the requirements, and record the verification results. Based on the component selection verification results, generate a verification report, summarize various component selection data, and list the reasons for failing the component selection verification. For components that fail the verification, automatically compare parameters and recommend suitable component models.
[0076] The component determination method for a logic prototype provided in this invention includes: acquiring the device load and the component to be verified in the logic prototype; matching the component to be verified with standard characteristic parameters and matching the device load with device load characteristic parameters; after detecting a match, acquiring the loop parameters of the component to be verified in the current loop of the logic prototype; wherein the loop parameters are determined based on the current characteristics of the device load and the device load characteristic parameters matched to the device load; and determining the selection of the component to be verified according to the verification rules between the standard characteristic parameters and the loop parameters of the component to be verified pre-stored in the logic prototype. Compared with the previous method of manually selecting components, the method provided in this invention pre-stores standard characteristic parameters and device load characteristic parameters in the logic prototype, enabling the matching of parameters between components and device load to be verified within the logic prototype. After obtaining the loop parameters, since the logic prototype has pre-stored the verification rules between the standard characteristic parameters of the components to be verified and the loop parameters, the logic prototype can directly and automatically complete the verification of the component selection according to the verification rules, which greatly improves the efficiency of component selection. Moreover, compared with the manual selection method, the method provided by this invention is not easily affected by human factors, which greatly improves the accuracy of component selection.
[0077] After matching component parameters and device load parameters, there may be unmatched components and device loads. Therefore, in some embodiments, the completeness of parameter matching is verified. Specifically, before obtaining the loop parameters of the component to be verified in the current loop of the logic prototype, the following steps are also included:
[0078] If, within a preset time period, no component to be verified that does not match the standard characteristic parameters or no device load that does not match the device load characteristic parameters is detected, the process proceeds to the step of obtaining the loop parameters of the component to be verified in the current loop of the logic prototype.
[0079] From the moment the standard characteristic parameters of the component to be verified are detected to match, or from the moment the device load is detected to match the device load characteristic parameters, if a component to be verified that does not match the standard characteristic parameters or a device load that does not match the device load characteristic parameters is detected within a preset time period, then it is determined whether there are details of components to be verified that do not match the standard characteristic parameters in the component parameter library of the logic prototype, or whether there are details of device loads that do not match the device load characteristic parameters in the device load parameter library of the logic prototype.
[0080] If not, add details of components to be verified that do not match standard characteristic parameters to the component parameter library, or add details of device loads that do not match device load characteristic parameters to the device load parameter library; and proceed to the steps of matching the components to be verified with standard characteristic parameters and matching the device loads with device load characteristic parameters.
[0081] If so, re-enter the steps of matching the components to be verified with standard characteristic parameters and matching the device load with device load characteristic parameters.
[0082] Check for components or devices with mismatched characteristic parameters. If any are found, supplement the corresponding component details, device details, component parameter library, or device load parameter library. Output the integrity check results and provide prompts for components or devices that fail the integrity check.
[0083] Figure 3 This is a flowchart illustrating an automatic component selection verification method based on a logic prototype, provided as an embodiment of the present invention. Figure 3 As shown, the method includes:
[0084] S14: Create a logic prototype and import the component details and equipment details into the logic prototype;
[0085] S15: Automatically match component characteristic parameters and equipment load characteristic parameters in the logic prototype based on the component parameter library (including component characteristic parameters) and the equipment load parameter library (including equipment load characteristic parameters);
[0086] S16: Determine if the parameter integrity check passes; if yes, proceed to step S17; if no, proceed to step S18.
[0087] S17: Obtain components or devices in the logic prototype that do not match the characteristic parameters; and return to step S14;
[0088] S18: Run the simulation and record the simulation parameter values of each component in each scenario;
[0089] S19: Determine the rationality of component parameters according to the verification rules;
[0090] S20: Output a verification report and recommended options for those that fail.
[0091] It should be noted that validation rules can be configured from the validation rule base, or the validation rule base can be updated after the validation rules are determined.
[0092] The loop parameters include the voltage values of each contact, the minimum current value among all operating conditions, and the maximum current value among all operating conditions; obtaining the loop parameters of the component to be verified in the current loop of the logic prototype includes:
[0093] Set the rated current attribute of the pins for the device load;
[0094] Starting from the simulation of the current loop, obtain the pins whose pin states have changed among all the pins of the device load;
[0095] If a pin whose pin status has changed is detected to have a rated current attribute, then update the current value of the direct connection to the pin whose pin status has changed.
[0096] After the simulation is completed, obtain the voltage value of each contact, the minimum current value among the current values corresponding to all operating conditions, and the maximum current value among the current values corresponding to all operating conditions.
[0097] Alternatively, starting from the simulation of the current circuit, if a contact is detected to be open, the current value of the direct connection line where the pin on the energized side is located is updated; and the process proceeds to the steps of obtaining the voltage value of each contact, the minimum current value among the current values corresponding to all operating conditions, and the maximum current value among the current values corresponding to all operating conditions after the simulation is detected to be over.
[0098] Specifically, updating the current value of the directly connected line includes:
[0099] Obtain the current value and information of each power pin in the direct connection line;
[0100] If the power pin is a contact pin, obtain the current value of the contact pin;
[0101] The current value of the contact pin is updated from the current value to either the minimum current value or the maximum current value among all operating conditions, based on the relationship between the current value and the minimum current value or the maximum current value among all operating conditions, in order to update the current value of the directly connected line.
[0102] After updating the current value of the directly connected line, it also includes: obtaining the update time of the current value;
[0103] After detecting the end of the simulation and obtaining the voltage value of each contact, the minimum current value among the current values corresponding to all operating conditions, and the maximum current value among the current values corresponding to all operating conditions, the following is also included:
[0104] Store the voltage value of each contact, the minimum current value among all operating conditions, the maximum current value among all operating conditions, and the update time of the current value.
[0105] It should be noted that circuit operating conditions refer to the scenario after the switch is closed or open. A direct connection refers to a circuit between pins that are directly connected by a wire. A power pin refers to the pin that receives power from an external source for this direct connection, and there may be multiple power pins. Figure 4 This is a schematic diagram of a direct connection line provided in an embodiment of the present invention. Figure 4 In the diagram, the pins closest to 110V are power supply pins, the pins with two pins labeled 1 are non-power supply pins, the pins with two pins labeled 2 are power supply pins, and the pin A1 is a non-power supply pin. Figure 5 A flowchart of a method for obtaining loop parameters provided in an embodiment of the present invention is shown below. Figure 5 As shown, the method includes:
[0106] S21: Set the rated current attribute of the load pin;
[0107] S22: Update the direct-connection current value based on circuit simulation;
[0108] S23: Determine whether the simulation has ended; if yes, proceed to step S24; if no, return to step S22.
[0109] S24: Stores the simulated current data for each contact.
[0110] Specifically, in step S21, the rated current attribute of the load pin can be directly filled in or read from the component parameter library by the device model;
[0111] In step S22, circuit simulation is performed first to determine whether the pin is energized. If so, the rated current value is determined to be non-zero. If so, the direct-connection line current value is updated.
[0112] Alternatively, after the circuit simulation begins, determine whether the contact is open. If so, set the current value of the contact to 0 and update the current value of the directly connected line.
[0113] Figure 6 A flowchart of a method for updating a directly connected line provided in an embodiment of the present invention is shown below. Figure 6 As shown, the method includes:
[0114] S25: Calculate the current value of the power supply pin;
[0115] S26: Determine if the power pin is for a power supply device or a black box device; if so, end.
[0116] S27: Determine if the power pin is a contact pin; if so, proceed to step S28.
[0117] S28: Update contact current value;
[0118] S29: Obtain the pin on the other side of the contact and return to step S25.
[0119] In step S25, to calculate the current value of the power pins, the non-power pins are iterated through, and the current values of each pin (for contact pins, the current value of the contact) are accumulated, then divided by the number of power pins to obtain the current value of each power pin. For example, for... Figure 4 For power pin 2, assuming the current value at the non-power pin is A, the current values corresponding to the two power pins 2 are 2 / A respectively.
[0120] In step S28, the specific method for updating the contact current value is to record the current value and compare it with the minimum and maximum current values. If it is smaller than the minimum current value or larger than the maximum current value, then update it accordingly and record the update time.
[0121] The process of collecting and calculating the rated voltage, minimum current, and maximum current of the circuit containing the components is as follows:
[0122] (1) When drawing the circuit, the rated current attribute of the pins of the load device needs to be set. It can be filled in directly or read from the component library by the device model.
[0123] (2) During circuit simulation, the current value is calculated in real time:
[0124] ①When the status of a device pin changes, if the pin has a current attribute, update the current value of the directly connected line;
[0125] ②When the contact is open, the current value is 0, and the current value of the direct-connected line of the pin on the energized side is updated;
[0126] ③ Update the current value of the direct connection line and calculate the current value of the power supply pin;
[0127] Iterate through the non-power pins, sum the current values of each pin (for contact pins, sum the current values of the contacts), and then divide by the number of power pins to obtain the current value of each power pin.
[0128] Update the current values for each power pin;
[0129] ④ Update the power pin current value. If the pin is a contact pin, update the contact current value and update the direct connection current value of the pin on the other side of the contact. If the pin is a black box or power supply device, notify the corresponding device.
[0130] ⑤ Update the contact current value, record the current value, and compare it with the minimum and maximum current values. If it is smaller than the minimum current value or larger than the maximum current value, update accordingly and record the update time.
[0131] (3) After the simulation is completed, store the voltage value, minimum current value (non-zero), maximum current value and corresponding time of each contact.
[0132] The component determination method for a logic prototype provided in this invention includes: acquiring the device load and the component to be verified in the logic prototype; matching the component to be verified with standard characteristic parameters and matching the device load with device load characteristic parameters; after detecting a match, acquiring the loop parameters of the component to be verified in the current loop of the logic prototype; wherein the loop parameters are determined based on the current characteristics of the device load and the device load characteristic parameters matched to the device load; and determining the selection of the component to be verified according to the verification rules between the standard characteristic parameters and the loop parameters of the component to be verified pre-stored in the logic prototype. Compared with the previous method of manually selecting components, the method provided in this invention pre-stores standard characteristic parameters and device load characteristic parameters in the logic prototype, enabling the matching of parameters between components and device load to be verified within the logic prototype. After obtaining the loop parameters, since the logic prototype has pre-stored the verification rules between the standard characteristic parameters of the components to be verified and the loop parameters, the logic prototype can directly and automatically complete the verification of the component selection according to the verification rules, which greatly improves the efficiency of component selection. Moreover, compared with the manual selection method, the method provided by the present invention is not easily affected by human factors, which greatly improves the accuracy of component selection.
[0133] In the above embodiments, the method for determining the components of a logic prototype has been described in detail. This invention also provides embodiments of a device for determining the components of a logic prototype and a device for determining the components of a logic prototype. It should be noted that this invention describes the embodiments of the device portion from two perspectives: one based on functional modules and the other based on hardware.
[0134] Figure 7 This is a structural diagram of a component determination device for a logic prototype provided according to an embodiment of the present invention. This embodiment, based on functional modules, includes:
[0135] The first acquisition module 10 is used to acquire the device load and the components to be verified in the logic prototype;
[0136] The matching module 11 is used to match the components to be verified with standard characteristic parameters and to match the equipment load with equipment load characteristic parameters; wherein, the standard characteristic parameters and the equipment load characteristic parameters are parameters that are pre-stored in the logic prototype.
[0137] The second acquisition module 12 is used to acquire the loop parameters of the component to be verified in the current loop of the logic prototype after a match is detected; wherein, the loop parameters are determined according to the current characteristics of the device load and the device load characteristic parameters matched by the device load.
[0138] The determination module 13 is used to determine the selection of the component to be verified based on the verification rules between the standard characteristic parameters and loop parameters of the component to be verified that are pre-stored in the logic prototype.
[0139] Since the embodiments of the apparatus section correspond to the embodiments of the method section, please refer to the description of the embodiments of the method section for the embodiments of the apparatus section, and they will not be repeated here. Furthermore, it has the same beneficial effects as the component determination method for the logic prototype mentioned above.
[0140] Figure 8 This is a structural diagram of a component determination device for a logic prototype provided in another embodiment of the present invention. This embodiment is based on a hardware perspective, such as... Figure 8 As shown, the component determination equipment for the logic prototype includes:
[0141] Memory 20 is used to store computer programs;
[0142] The processor 21 is used to implement the steps of the component determination method for the logic prototype as mentioned in the above embodiments when executing a computer program.
[0143] The processor 21 may include one or more processing cores, such as a quad-core processor or an octa-core processor. The processor 21 may be implemented using at least one of the following hardware forms: Digital Signal Processor (DSP), Field-Programmable Gate Array (FPGA), or Programmable Logic Array (PLA). The processor 21 may also include a main processor and a coprocessor. The main processor, also known as the Central Processing Unit (CPU), is used to process data in the wake-up state; the coprocessor is a low-power processor used to process data in the standby state. In some embodiments, the processor 21 may integrate a Graphics Processing Unit (GPU), which is responsible for rendering and drawing the content to be displayed on the screen. In some embodiments, the processor 21 may also include an Artificial Intelligence (AI) processor, which is used to handle computational operations related to machine learning.
[0144] The memory 20 may include one or more computer-readable storage media, which may be non-transitory. The memory 20 may also include high-speed random access memory and non-volatile memory, such as one or more disk storage devices or flash memory devices. In this embodiment, the memory 20 is used to store at least the following computer program 201, which, after being loaded and executed by the processor 21, is capable of implementing the relevant steps of the component determination method for the logic prototype disclosed in any of the foregoing embodiments. In addition, the resources stored in the memory 20 may also include an operating system 202 and data 203, and the storage method may be temporary or permanent storage. The operating system 202 may include Windows, Unix, Linux, etc. The data 203 may include, but is not limited to, the data involved in the aforementioned component determination method for the logic prototype.
[0145] In some embodiments, the component determination device for the logic prototype may further include a display screen 22, an input / output interface 23, a communication interface 24, a power supply 25, and a communication bus 26.
[0146] Those skilled in the art will understand that Figure 8 The structure shown does not constitute a limitation on the component determination device for the logic prototype and may include more or fewer components than shown.
[0147] The component determination device for a logic prototype provided in this embodiment of the invention includes a memory and a processor. When the processor executes the program stored in the memory, it can implement the following method: the component determination method for the logic prototype, with the same effect as above.
[0148] Finally, the present invention also provides an embodiment corresponding to a computer-readable storage medium. The computer-readable storage medium stores a computer program, which, when executed by a processor, performs the steps described in the above method embodiments.
[0149] It is understood that if the methods in the above embodiments are implemented as software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and executes all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0150] The computer-readable storage medium provided by this invention includes the aforementioned method for determining the components of a logic prototype, and has the same effect.
[0151] The present invention has provided a detailed description of a method, apparatus, device, and medium for determining components of a logic prototype. The various embodiments in the specification are described in a progressive manner, with each embodiment focusing on its differences from other embodiments. Similar or identical parts between embodiments can be referred to interchangeably. For the apparatus disclosed in the embodiments, since it corresponds to the method disclosed in the embodiments, the description is relatively simple; relevant parts can be referred to in the method section. It should be noted that those skilled in the art can make various improvements and modifications to the present invention without departing from its principles, and these improvements and modifications also fall within the protection scope of the claims of the present invention.
[0152] It should also be noted that, in this specification, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.
Claims
1. A method for determining the components of a logic prototype, characterized in that, include: Obtain the device load and components to be verified in the logic prototype; The component to be verified is matched with standard characteristic parameters, and the device load is matched with device load characteristic parameters; wherein, the standard characteristic parameters and the device load characteristic parameters are parameters pre-stored in the logic prototype; After a match is detected, the loop parameters of the component to be verified in the current loop of the logic prototype are obtained; wherein, the loop parameters are determined based on the current characteristics of the device load and the device load characteristic parameters that the device load matches. The selection of the component to be verified is determined according to the verification rules between the standard characteristic parameters and the loop parameters of the component to be verified, which are pre-stored in the logic prototype.
2. The method for determining components of a logic prototype according to claim 1, characterized in that, The process of matching the component to be verified with the standard characteristic parameters includes: Obtain the model number of the component to be verified; Obtain a target component with the same model as the component to be verified from the component parameter library of the logic prototype; The component to be verified is matched with the standard characteristic parameters corresponding to the target component.
3. The method for determining components of a logic prototype according to claim 1, characterized in that, The step of matching the device load with the device load characteristic parameters includes: Obtain the device details of the device load; wherein, the device details include at least the device model, connector code, and pin number; The target device load is determined from the device load parameter library of the logic prototype based on the device details. The device load is matched with the device load characteristic parameters corresponding to the target device load.
4. The method for determining components of a logic prototype according to any one of claims 1 to 3, characterized in that, Before obtaining the loop parameters of the component to be verified in the current loop of the logic prototype, the method further includes: If, within a preset time period, it is detected that the component to be verified matches the standard characteristic parameter, or that the device load matches the device load characteristic parameter, no component to be verified that does not match the standard characteristic parameter or no device load that does not match the device load characteristic parameter is detected, then the step of obtaining the loop parameter of the component to be verified in the current loop of the logic prototype is entered. From the moment the component to be verified is detected to match the standard characteristic parameters, or from the moment the device load is detected to match the device load characteristic parameters, if within the preset time period, a component to be verified that does not match the standard characteristic parameters or a device load that does not match the device load characteristic parameters is detected, then it is determined whether there is a list of components to be verified that do not match the standard characteristic parameters in the component parameter library of the logic prototype, or whether there is a list of device loads that do not match the device load characteristic parameters in the device load parameter library of the logic prototype. If not, add the details of the component to be verified that does not match the standard characteristic parameters to the component parameter library, or add the details of the device load that does not match the device load characteristic parameters to the device load parameter library; and proceed to the steps of matching the component to be verified with the standard characteristic parameters and matching the device load with the device load characteristic parameters. If so, re-enter the steps of matching the component to be verified with the standard characteristic parameters and matching the device load with the device load characteristic parameters.
5. The method for determining components of a logic prototype according to claim 4, characterized in that, The circuit parameters include the voltage value of each contact, the minimum current value among all operating conditions, and the maximum current value among all operating conditions; obtaining the circuit parameters of the component to be verified in the current circuit of the logic prototype includes: Set the rated current attribute of the pins of the device load; Starting from the simulation of the current circuit, obtain the pins whose pin states have changed among all the pins of the device load; If a pin whose pin state has changed is detected to have the rated current attribute, then update the current value of the direct connection line where the pin whose pin state has changed is located. After the simulation is completed, the voltage value of each contact point, the minimum current value among all operating conditions, and the maximum current value among all operating conditions are obtained. Alternatively, starting from the simulation of the current circuit, if a contact is detected to be open, the current value of the direct connection line where the pin on the energized side is located is updated; and the process proceeds to the step of obtaining the voltage value of each contact, the minimum current value among all operating conditions, and the maximum current value among all operating conditions after the simulation is detected to be closed.
6. The method for determining components of a logic prototype according to claim 5, characterized in that, Updating the current value of a directly connected line includes: Obtain the current value and information of each power pin in the direct connection line; If the power pin is a contact pin, obtain the current value of the contact pin; The current value of the contact pin is updated from the current value to either the minimum current value or the maximum current value among all operating conditions, based on the relationship between the current value and the minimum current value or the maximum current value among all operating conditions, in order to update the current value of the direct connection line.
7. The method for determining components of a logic prototype according to claim 6, characterized in that, After updating the current value of the directly connected line, the method further includes: obtaining the update time of the current current value; After detecting the end of the simulation and obtaining the voltage value of each contact, the minimum current value among the current values corresponding to all operating conditions, and the maximum current value among the current values corresponding to all operating conditions, the method further includes: The system stores the voltage value of each contact, the minimum current value among all operating conditions, the maximum current value among all operating conditions, and the update time of the current value.
8. A component determination device for a logic prototype, characterized in that, include: The first acquisition module is used to acquire the device load and the components to be verified in the logic prototype; The matching module is used to match the component to be verified with standard characteristic parameters and to match the device load with device load characteristic parameters; wherein, the standard characteristic parameters and the device load characteristic parameters are parameters pre-stored in the logic prototype; The second acquisition module is used to acquire the loop parameters of the component to be verified in the current loop of the logic prototype after a match is detected; wherein the loop parameters are determined based on the current characteristics of the device load and the device load characteristic parameters matched by the device load. The determination module is used to determine the selection of the component to be verified based on the verification rules between the standard characteristic parameters and the loop parameters of the component to be verified, which are pre-stored in the logic prototype.
9. A component determination device for a logic prototype, characterized in that, include: Memory, used to store computer programs; A processor for executing the computer program to implement the steps of the component determination method for the logic prototype as described in any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, implements the steps of the component determination method for the logic prototype as described in any one of claims 1 to 7.