Simulation design method and system for high-robustness circuit
By optimizing the simulation design process and circuit layout, and using shielding materials and filters, the problem of noise impact in the existing technology is solved, and the accuracy and reliability of circuit simulation design are improved.
Patent Information
- Application Number
- CN202410897201.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-05
- Publication Date
- 2024-10-25
AI Technical Summary
Existing simulation design technology cannot effectively remove noise, resulting in inaccurate or unreliable circuit performance and reducing the reliability of simulation design of high-robustness circuits.
By selecting appropriate simulation software, setting simulation parameters, optimizing circuit layout, using shielding materials and filters, ensure a clean circuit environment and reduce external interference, and analyze and optimize circuit performance during the simulation process to reduce noise interference.
It achieves clearer and more reliable signal processing, improving the practicality and reliability of simulation design of high-robustness circuits.
Smart Images

Figure CN118839645A_ABST
Abstract
Description
Technical field:
[0001] The present invention relates to the technical field of circuit simulation design, and in particular to a method and system for simulation design of a high-robustness circuit. Background technology:
[0002] Simulators can help designers optimize subsystems, key subcircuits, and components in their designs. Simulation analysis can help researchers better understand the dynamic behavior of power systems. The operating state of power systems is constantly changing, and simulation analysis can help researchers simulate different operating states to better understand the operating laws of power systems.
[0003] However, the above scheme cannot remove the noise. The noise may be lower or higher than we expected. The variables have not been considered in the noise analysis, which will cause errors and affect the performance of the circuit, resulting in inaccurate or unreliable design results, reducing the reliability of the simulation design of high-robustness circuits. Summary of the invention:
[0004] The purpose of the present invention is to provide a simulation design method and system for a high-robustness circuit in order to solve the above problems, thereby solving the problems mentioned in the background technology.
[0005] In order to solve the above problems, the present invention provides a technical solution:
[0006] A simulation design method for a high robustness circuit comprises the following steps:
[0007] S1: Drawing of circuit diagram: When drawing a circuit diagram, you need to choose appropriate circuit simulation software, and draw it according to the actual situation of the circuit. When drawing a circuit diagram, pay attention to the connection of components, access to power supply, input and output of signals, etc.
[0008] S2: Choose the appropriate simulation software: Choose different simulation software according to the circuit type. For example, for analog circuits, you can choose SPICE, PSPICE and other software for simulation. For digital circuits, you can choose MAX+PLUS, QUARTUS and other software for simulation.
[0009] S3: Preliminary planning: Understand the voltage and current requirements of the required power supply, as well as the device's tolerance to power supply noise;
[0010] S4: Setting simulation parameters: When setting simulation parameters, it is necessary to set them according to the actual needs of the circuit, such as setting simulation time, simulation accuracy, initial conditions, etc.;
[0011] S5: Run simulation: When running the simulation, you need to ensure that the computer is in normal working condition and pay attention to the progress of the simulation at any time;
[0012] S6: Result analysis: When analyzing the simulation results, it is necessary to analyze based on indicators such as simulation waveform, spectrum, and stability.
[0013] As a preferred solution of the present invention, according to the connection of components, access to power supply and input and output of signals in S1, the connection of detection components, access to power supply and input and output of signals include the following steps:
[0014] S11: Check the connection of components: Check the installed circuit according to the circuit diagram. According to the circuit connection, check the installed circuits one by one in a certain order. You can also check the actual circuits against the schematic diagram and check the circuits with the components as the center.
[0015] S12: Check the access of power supply: First, plug the power supply tester into the power socket, and then plug the plug of the computer power supply into the output interface of the tester. By observing the display screen on the tester, you can know the output status of the power supply;
[0016] S13: Verify data: Verify that the processing and response of digital signals meet the expected and specified requirements by simulating different input and output scenarios.
[0017] As a preferred solution of the present invention, selecting appropriate simulation software according to S2 comprises the following steps:
[0018] S21: Import workpiece model: In the software interface, the user needs to import the workpiece model to be processed. Usually, the user can select the locally stored CAD model file through the "Import" function, or manually create the workpiece model.
[0019] S22: Set machining parameters: After importing the workpiece model, the user needs to set machining parameters, including tool type, tool diameter, cutting speed, feed speed, etc.;
[0020] S23: Select processing path: According to actual processing requirements, users can select different processing paths provided by CNC processing simulation software, including contour processing, hole processing, surface processing, etc.;
[0021] S24: Generate machining code: After completing the machining path selection, the user can generate the NC machining code;
[0022] S25: Perform simulation: After generating the processing code, the user can perform simulation operations. The software will simulate the processing process on the CNC machine tool, including the motion trajectory of the tool, processing effect, etc.
[0023] As a preferred solution of the present invention, according to the method for avoiding noise in S3, the following steps are included:
[0024] S31: Clean the circuit environment: Before conducting the experiment, we should ensure the cleanliness of the circuit environment, remove the clutter around the circuit, and place the circuit on a clean workbench;
[0025] S32: Use shielding materials: When designing a circuit, you can use shielding materials to reduce the impact of external interference on the circuit;
[0026] S33: Optimize circuit layout: Arrange the positions of various components reasonably, reduce the length and crossing of signal lines, and separate the input and output signal lines to avoid mutual interference;
[0027] S34: Use filters: If the circuit noise and interference mainly come from the high-frequency components of the input signal, a filter can be added to the circuit to filter out the high-frequency noise;
[0028] S35: Use shielded cables: During signal transmission, shielded cables can be used to reduce noise and interference during transmission.
[0029] As a preferred solution of the present invention, the running simulation in S5 includes the following steps:
[0030] S51: running simulation software: the simulation software will simulate the circuit behavior according to the defined circuit and parameters and generate simulation results;
[0031] S52: Run the simulation again: Once the design optimization is done, we need to run the simulation again to verify the optimized design.
[0032] A simulation design system for a highly robust circuit comprises a schematic editor, a simulation engine, a central controller, a semi-physical simulation system, a waveform display system and a physical test system, wherein the schematic editor is communicatively connected to the simulation engine, the simulation engine is communicatively connected to the central controller, the semi-physical simulation system is electrically connected to the simulation engine, the semi-physical simulation system is communicatively connected to the waveform display system, and the waveform display system is communicatively connected to the physical test system.
[0033] As a preferred solution of the present invention, the simulation engine includes a data model, a physics engine and a rendering engine:
[0034] The data model is used for data on system input, output, movement and state change;
[0035] The physics engine is used to simulate the algorithms and models of the physical characteristics and interactive behaviors of the system, usually including models of physical collision, mechanics, dynamics, animation, etc.;
[0036] The rendering engine is a software system used to render mathematical models into dynamic graphics or videos. It is the main medium for people to interact with the simulation system and can provide rich visual experience and scenario simulation.
[0037] As a preferred solution of the present invention, the semi-physical simulation system includes real-time optoelectronic scene generation, a test unit, and a scene generation and test unit interface;
[0038] The real-time optoelectronic scene generation is a technology for converting electrical signals into optical signals for displaying images and text;
[0039] The test unit is used to detect the safety of the circuit simulation design, formulate test plans, formulate specific test cases, and create reusable test scripts;
[0040] The scene generation is used to send data information such as the simulated position and orientation of each simulated entity to the image generator;
[0041] The test unit interface simulates the process that the client sends a request message to the server through the test program, the server processes the corresponding message after receiving the request message and then sends a response message to the client, and the client receives the response message.
[0042] As a preferred solution of the present invention, the waveform display system includes a waveform display module and:
[0043] The waveform display module stores the collected data in a dynamic array with adjustable size, performs time domain analysis on the data and displays the data in a graph;
[0044] The analysis module is used to collect, organize, analyze and visualize data.
[0045] The beneficial effects of the present invention are as follows: by setting a preliminary plan, the basic principle of noise reduction is to process the noise signal so that it is subtracted from the original signal or part of the noise is filtered out, thereby achieving the purpose of reducing noise interference, and these noises can be filtered out to obtain a clearer and more reliable signal, thereby achieving the purpose of reducing noise interference and improving the practicability of the simulation design of high-robustness circuits. Description of the drawings:
[0046] For ease of explanation, the present invention is described in detail with reference to the following specific implementations and the accompanying drawings.
[0047] Figure 1 It is a flow chart of the simulation design method of the circuit of the present invention;
[0048] Figure 2 It is a flow chart of the simulation design system of the circuit of the present invention. Specific implementation method:
[0049] The technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention.
[0050] Embodiment 1:
[0051] See also Figure 1 - Figure 2 The present invention provides a technical solution: a simulation design method for a high robustness circuit, characterized in that it includes the following steps:
[0052] S1: Drawing of circuit diagram: When drawing a circuit diagram, you need to choose appropriate circuit simulation software, and draw it according to the actual situation of the circuit. When drawing a circuit diagram, pay attention to the connection of components, access to power supply, input and output of signals, etc.
[0053] S2: Choose the appropriate simulation software: Choose different simulation software according to the circuit type. For example, for analog circuits, you can choose SPICE, PSPICE and other software for simulation. For digital circuits, you can choose MAX+PLUS, QUARTUS and other software for simulation.
[0054] S3: Preliminary planning: Understand the voltage and current requirements of the required power supply, as well as the device's tolerance to power supply noise;
[0055] S4: Setting simulation parameters: When setting simulation parameters, it is necessary to set them according to the actual needs of the circuit, such as setting simulation time, simulation accuracy, initial conditions, etc.;
[0056] S5: Run simulation: When running the simulation, you need to ensure that the computer is in normal working condition and pay attention to the progress of the simulation at any time;
[0057] S6: Result analysis: When analyzing the simulation results, it is necessary to analyze based on indicators such as simulation waveform, spectrum, and stability.
[0058] Further, according to the connection of components, access to power supply and input and output of signals in S1, the connection of components, access to power supply and input and output of signals includes the following steps:
[0059] S11: Check the connection of components: Check the installed circuit according to the circuit diagram. According to the circuit connection, check the installed circuits one by one in a certain order. You can also check the actual circuits against the schematic diagram. Check the circuits with components as the center, monitor the state of objects in the production process in real time, so as to find problems in time and take measures to deal with them;
[0060] S12: Check the access of power supply: First, plug the power supply tester into the power socket, and then plug the computer power plug into the output interface of the tester. By observing the display screen on the tester, you can know the output of the power supply, determine the power supply quality and ensure the safety of electricity use;
[0061] S13: Verify data: Verify that the processing and response of digital signals meet the expected and specified requirements by simulating different input and output scenarios.
[0062] Further, selecting appropriate simulation software according to S2 comprises the following steps:
[0063] S21: Import workpiece model: In the software interface, the user needs to import the workpiece model to be processed. Usually, the user can select the locally stored CAD model file through the "Import" function, or manually create the workpiece model.
[0064] S22: Set machining parameters: After importing the workpiece model, the user needs to set machining parameters, including tool type, tool diameter, cutting speed, feed speed, etc. By adjusting the set parameters, the accuracy and stability of the machining center can be ensured to meet the requirements and guarantee the machining quality.
[0065] S23: Select processing path: According to actual processing requirements, users can select different processing paths provided by CNC processing simulation software, including contour processing, hole processing, surface processing, etc.;
[0066] S24: Generate machining code: After completing the machining path selection, the user can generate the CNC machining code to generate the machining code and improve the production efficiency;
[0067] S25: Perform simulation: After generating the processing code, the user can perform simulation operations. The software will simulate the processing process on the CNC machine tool, including the motion trajectory of the tool, processing effect, etc.
[0068] Further, according to the method for avoiding noise in S3, the following steps are included:
[0069] S31: Clean the circuit environment: Before conducting the experiment, we should ensure the cleanliness of the circuit environment, remove the clutter around the circuit, place the circuit on a clean workbench, and avoid direct contact between the circuit and other equipment or stray electromagnetic fields to reduce interference;
[0070] S32: Use shielding materials: When designing a circuit, you can use shielding materials to reduce the impact of external interference on the circuit. When designing an amplifier circuit, you can use a metal shell to wrap the circuit board to achieve a shielding effect;
[0071] S33: Optimize circuit layout: arrange the positions of various components reasonably, reduce the length and crossing of signal lines, separate the input and output signal lines to avoid mutual interference, and pay attention to the separation of ground lines and signal lines to reduce the interference caused by ground loops;
[0072] S34: Use filter: If the circuit noise and interference mainly come from the high-frequency components in the input signal, a filter can be added to the circuit to filter out the high-frequency noise. The filter can select a suitable cutoff frequency to filter out the high-frequency noise through the filter.
[0073] S35: Use shielded cables: During signal transmission, shielded cables can be used to reduce noise and interference during transmission. The shielded cables have a metal shielding layer inside, which can effectively block the interference of external electromagnetic waves on the signal.
[0074] Further, the running simulation in S5 includes the following steps:
[0075] S51: running simulation software: the simulation software will simulate the circuit behavior according to the defined circuit and parameters and generate simulation results;
[0076] S52: Run the simulation again: Once the design optimization is done, we need to run the simulation again to verify the optimized design and use the simulation model to successfully solve system problems such as prediction, analysis and evaluation.
[0077] Embodiment 2:
[0078] A simulation design system for a highly robust circuit comprises a schematic editor, a simulation engine, a central controller, a semi-physical simulation system, a waveform display system and a physical test system, wherein the schematic editor is communicatively connected to the simulation engine, the simulation engine is communicatively connected to the central controller, the semi-physical simulation system is electrically connected to the simulation engine, the semi-physical simulation system is communicatively connected to the waveform display system, and the waveform display system is communicatively connected to the physical test system.
[0079] Furthermore, the simulation engine includes a data model, a physics engine and a rendering engine: the data model is used for data on system input, output, motion and state change, which can better develop database applications, thereby improving the quality and efficiency of applications; the physics engine is used to simulate algorithms and models of system physical characteristics and interactive behaviors, usually including models of physical collision, mechanics, dynamics, animation, etc., and the main limitation is the accuracy of the numbers representing the position of objects and the forces acting on objects; the rendering engine is a software system used to render mathematical models into dynamic graphics or videos, which is the main medium for people to interact with simulation systems, can provide rich visual experience and scenario simulation, ensure fast loading and smooth display of web pages, and have a direct impact on user experience.
[0080] Furthermore, the semi-physical simulation system includes real-time optoelectronic scene generation, a test unit, scene generation and a test unit interface; the real-time optoelectronic scene generation is a technology for converting electrical signals into optical signals for displaying images and texts, providing strong support for fields such as virtual reality and augmented reality; the test unit is used to detect the security of the simulation design of the circuit, formulate test plans, formulate specific test cases, and create reusable test scripts, which are helpful to find and fix code errors early and avoid the spread of errors in the entire system; the scene generation is used to send each simulation entity to the image generator. Data information such as its simulated position and orientation; the test unit interface simulates the client sending a request message to the server through a test program, and the server processes the corresponding message after receiving the request message and then sends the response message to the client. The client receives the response message. This process can ensure the maintainability of the system.
[0081] Furthermore, the waveform display system includes a waveform display module and an analysis module: the waveform display module stores the collected data in a dynamic array with adjustable size, performs time domain analysis on the data and displays it in a graph, and can simulate and emulate various circuits; the analysis module is used to collect, organize, analyze and visualize data.
[0082] Embodiment 3:
[0083] In the simulation software, create a circuit according to the design requirements. You can complete the construction of the circuit by dragging electronic components and connecting wires. Set parameters for each electronic component, including resistance, capacitance, inductance, etc. These parameters determine the performance of the circuit. Add a power supply to the circuit to provide voltage or current. The power supply type can be a DC or AC source. Set parameters according to actual needs and select the circuit parameters that need to be measured, such as current, voltage, power, etc. These parameters can be measured directly from specific nodes in the circuit. Click the run button in the simulation software to start circuit simulation. The simulation software will solve the circuit and calculate the voltage, current and other parameters of each node and component in the circuit. According to the simulation results, analyze and evaluate the performance of the circuit. The simulation results can be visualized by drawing waveforms, power spectra, etc. According to the simulation results, adjust and optimize the circuit. You can modify component parameters, power supply parameters or circuit topology to improve the performance of the circuit. Simulate the optimized circuit again for performance verification and evaluation. If the results meet the design requirements, the circuit simulation is completed. During the detection process, the circuit is denoised.
[0084] Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the appended claims and their equivalents.
Claims
1. A simulation design method for a high robustness circuit, characterized in that: The following steps are involved: S1: Drawing of circuit diagram: When drawing a circuit diagram, you need to choose appropriate circuit simulation software, and draw it according to the actual situation of the circuit. When drawing a circuit diagram, pay attention to the connection of components, access to power supply, input and output of signals, etc. S2: Choose the appropriate simulation software: Choose different simulation software according to the circuit type. For example, for analog circuits, you can choose SPICE, PSPICE and other software for simulation. For digital circuits, you can choose MAX+PLUS, QUARTUS and other software for simulation. S3: Preliminary planning: Understand the voltage and current requirements of the required power supply, as well as the device's tolerance to power supply noise; S4: Setting simulation parameters: When setting simulation parameters, it is necessary to set them according to the actual needs of the circuit, such as setting simulation time, simulation accuracy, initial conditions, etc.; S5: Run simulation: When running the simulation, you need to ensure that the computer is in normal working condition and pay attention to the progress of the simulation at any time; S6: Result analysis: When analyzing the simulation results, it is necessary to analyze based on indicators such as simulation waveform, spectrum, and stability.
2. The simulation design method for a high robustness circuit according to claim 1, characterized in that: According to S1, the connection of components, access to power, and input and output of signals, the connection of detection components, access to power, and input and output of signals include the following steps: S11: Check the connection of components: Check the installed circuit according to the circuit diagram. According to the circuit connection, check the installed circuits one by one in a certain order. You can also check the actual circuits against the schematic diagram and check the circuits with the components as the center. S12: Check the access of power supply: First, plug the power supply tester into the power socket, and then plug the plug of the computer power supply into the output interface of the tester. By observing the display screen on the tester, you can know the output status of the power supply; S13: Verify data: Verify that the processing and response of digital signals meet the expected and specified requirements by simulating different input and output scenarios.
3. The simulation design method for a high robustness circuit according to claim 1, characterized in that: The selecting of appropriate simulation software according to S2 comprises the following steps: S21: Import workpiece model: In the software interface, the user needs to import the workpiece model to be processed. Usually, the user can select the locally stored CAD model file through the "Import" function, or manually create the workpiece model. S22: Set machining parameters: After importing the workpiece model, the user needs to set machining parameters, including tool type, tool diameter, cutting speed, feed speed, etc.; S23: Select processing path: According to actual processing requirements, users can select different processing paths provided by CNC processing simulation software, including contour processing, hole processing, surface processing, etc.; S24: Generate machining code: After completing the machining path selection, the user can generate the NC machining code; S25: Perform simulation: After generating the processing code, the user can perform simulation operations. The software will simulate the processing process on the CNC machine tool, including the motion trajectory of the tool, processing effect, etc.
4. The simulation design method for a high robustness circuit according to claim 1, characterized in that: According to the method for avoiding noise in S3, the following steps are included: S31: Clean the circuit environment: Before conducting the experiment, we should ensure the cleanliness of the circuit environment, remove the clutter around the circuit, and place the circuit on a clean workbench; S32: Use shielding materials: When designing a circuit, you can use shielding materials to reduce the impact of external interference on the circuit; S33: Optimize circuit layout: Arrange the positions of various components reasonably, reduce the length and crossing of signal lines, and separate the input and output signal lines to avoid mutual interference; S34: Use filters: If the circuit noise and interference mainly come from the high-frequency components of the input signal, a filter can be added to the circuit to filter out the high-frequency noise; S35: Use shielded cables: During signal transmission, shielded cables can be used to reduce noise and interference during transmission.
5. The simulation design method for a high robustness circuit according to claim 1, characterized in that: The simulation operation according to S5 comprises the following steps: S51: running simulation software: the simulation software will simulate the circuit behavior according to the defined circuit and parameters and generate simulation results; S52: Run the simulation again: Once the design optimization is done, we need to run the simulation again to verify the optimized design.
6. A simulation design system for a high robustness circuit, characterized in that: It includes a schematic editor, a simulation engine, a central controller, a semi-physical simulation system, a waveform display system and a physical test system. The schematic editor is communicatively connected to the simulation engine, the simulation engine is communicatively connected to the central controller, the semi-physical simulation system is electrically connected to the simulation engine, the semi-physical simulation system is communicatively connected to the waveform display system, and the waveform display system is communicatively connected to the physical test system.
7. A simulation design system for a high robustness circuit according to claim 6, characterized in that: The simulation engine includes a data model, a physics engine and a rendering engine: The data model is used for data on system input, output, movement and state change; The physics engine is used to simulate the algorithms and models of the physical characteristics and interactive behaviors of the system, usually including models of physical collision, mechanics, dynamics, animation, etc.; The rendering engine is a software system used to render mathematical models into dynamic graphics or videos. It is the main medium for people to interact with the simulation system and can provide rich visual experience and scenario simulation.
8. The simulation design system for a high robustness circuit according to claim 6, characterized in that: The semi-physical simulation system includes real-time optoelectronic scene generation, a test unit, and a scene generation and test unit interface; The real-time optoelectronic scene generation is a technology for converting electrical signals into optical signals for displaying images and text; The test unit is used to detect the safety of the circuit simulation design, formulate test plans, formulate specific test cases, and create reusable test scripts; The scene generation is used to send data information such as the simulated position and orientation of each simulated entity to the image generator; The test unit interface simulates the process that the client sends a request message to the server through the test program, the server processes the corresponding message after receiving the request message and then sends a response message to the client, and the client receives the response message.
9. The simulation design system for a high robustness circuit according to claim 6, characterized in that: The waveform display system includes a waveform display module and an analysis module: The waveform display module stores the collected data in a dynamic array with adjustable size, performs time domain analysis on the data and displays the data in a graph; The analysis module is used to collect, organize, analyze and visualize data.
