Online circuit experiment system and method based on digital twinning

Through the digital twin's online circuit experiment system, users can conduct circuit experiments remotely, which solves the problem that traditional circuit experiments need to be conducted in specific places, achieving fast and efficient experiments and improving safety.

CN118587969APending Publication Date: 2024-09-03SOUTHERN UNIVERSITY OF SCIENCE AND TECHNOLOGY
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202410824412.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-25
Publication Date
2024-09-03

AI Technical Summary

Technical Problem

Traditional circuit experiments need to be carried out in a specific experimental location, which makes it impossible to carry out quickly and affects the experimental progress and efficiency.

Method used

Using an online circuit experiment system based on digital twins, through the communication connection between remote operating devices, control devices and physical circuits, users can conduct circuit experiments remotely, and monitor and adjust the digital twin circuit model in real time through the acquisition device.

Benefits of technology

It enables fast and efficient circuit experiments without arriving at the experimental site, saving time and resources, reducing costs, and improving the safety and efficiency of experiments.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118587969A
    Figure CN118587969A
Patent Text Reader

Abstract

The invention provides an online circuit experiment system and method based on digital twinning, and relates to the technical field of circuit experiments, the online circuit experiment system based on digital twinning comprises a remote operation device, a control device, an entity circuit and an acquisition device; the control device is respectively in communication connection with the remote operation device, the entity circuit and the acquisition device; the acquisition device is in communication connection with the entity circuit; the control device is used for acquiring an operation instruction input to the remote operation device by a user; and according to the operation instruction, the entity circuit is controlled to carry out a corresponding circuit experiment, and according to experiment data acquired by the acquisition device, the state of a preset digital twin circuit model in the remote operation device is adjusted. According to the invention, remote online circuit experiment can be carried out through the remote operation device, and the efficiency of the circuit experiment can be effectively improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of circuit experiment technology, and in particular to an online circuit experiment system and method based on digital twins. Background Art

[0002] Circuit experiments are a very important part of the field of electronic engineering. Circuit experiments can deepen the understanding of circuit theory through practical operations, observe the actual operation of the circuit, verify the correctness of the theory, and deepen the understanding of circuit principles, component characteristics and circuit analysis methods.

[0003] Traditional circuit experiments require setting up an experimental environment in a specific experimental site, and completing the experimental task by measuring circuit parameters and analyzing circuit performance. However, due to objective factors, it may not be possible to reach the site at any time to conduct circuit experiments, so it is impossible to quickly carry out circuit experiments, which seriously affects the progress of the experiment. Summary of the invention

[0004] The problem solved by the present invention is how to improve the efficiency and convenience of circuit experiments.

[0005] In order to solve the above problems, the present invention provides an online circuit experiment system and method based on digital twins.

[0006] In a first aspect, the present invention provides an online circuit experiment method based on digital twins, comprising a remote operation device, a control device, a physical circuit and a collection device; the control device is respectively connected to the remote operation device, the physical circuit and the collection device in communication; the collection device is connected to the physical circuit in communication;

[0007] The control device is used to:

[0008] Acquiring an operation instruction input by a user into the remote operation device;

[0009] The physical circuit is controlled to perform a corresponding circuit experiment according to the operation instruction, and the state of the digital twin circuit model preset in the remote operation device is adjusted according to the experimental data collected by the acquisition device.

[0010] Optionally, the control device is specifically used for:

[0011] Parsing the operation instruction to obtain a corresponding control instruction;

[0012] The physical circuit is controlled according to the control instruction.

[0013] Optionally, the control device is specifically used for:

[0014] Obtaining a matching relationship between all operation instructions and the corresponding control instructions;

[0015] According to the operation finger and the matching relationship, a corresponding control instruction is determined.

[0016] Optionally, the control device is specifically used for:

[0017] When the operation instruction satisfies the matching relationship, determining the corresponding control instruction according to the operation instruction;

[0018] When the operation instruction does not satisfy the matching relationship, a format non-compliance prompt is sent to the remote operation device.

[0019] Optionally, the physical circuit includes a first control switch, a second control switch and a third control switch; the control instruction includes a first control instruction, a second control instruction and a third control instruction; and the control device is specifically used for:

[0020] When the first control instruction is at a high level, the first control switch is controlled to be turned on; otherwise, the first control switch is not turned on;

[0021] When the second control instruction is at a high level, the second control switch is controlled to be turned on, otherwise the second control switch is not turned on;

[0022] When the third control instruction is at a high level, the third control switch is controlled to be turned on; otherwise, the third control switch is turned off.

[0023] Optionally, the system further comprises a webcam;

[0024] The network camera is used to collect the experimental pictures of the circuit experiment and send the experimental pictures to the remote operation device.

[0025] Optionally, the system further comprises a storage device;

[0026] The storage device is used to store the operating instructions and the experimental data.

[0027] Optionally, the physical circuit includes a control switch module, a voltage-dividing resistor, a power supply module and a voltmeter; the control switch module, the voltage-dividing resistor and the power supply module are connected in series, and the voltmeter is connected in parallel with the control switch module.

[0028] Optionally, the control switch module includes a first control switch, a second control switch and a third control switch, the first control switch, the second control switch and the third control switch are connected in parallel, the first control switch includes a first resistor and a first MOS tube, the first resistor is connected in series with the first MOS tube, the second control switch includes a second resistor and a second MOS tube, the second resistor is connected in series with the second MOS tube, the third control switch includes a third resistor and a third MOS tube, the third resistor is connected in series with the third MOS tube, and the gates of the first MOS tube, the second MOS tube and the third MOS tube are respectively connected to the control device.

[0029] In a second aspect, the present invention provides an online circuit experiment method based on digital twins, which is applied to an online circuit experiment system based on digital twins as described in any one of the first aspects, and the online circuit experiment method based on digital twins includes:

[0030] Acquire an operation instruction inputted by a user into a remote operation device;

[0031] According to the operation instructions, the physical circuit is controlled to perform the corresponding circuit experiment, and according to the experimental data collected by the acquisition device, the state of the digital twin circuit model preset in the remote operation device is adjusted.

[0032] The beneficial effects of the online circuit experiment system and method based on digital twins of the present invention are as follows: the user inputs the operation instruction into the remote operation device, the remote operation device sends the operation instruction to the remote control device through the communication connection, and the control device controls the physical circuit to perform the circuit experiment according to the operation instruction, so that the user can quickly and efficiently perform the online remote circuit experiment through the remote operation device, avoiding the need to go to a specific test site and build an experimental environment for each experiment, saving time and resource consumption, and effectively improving the efficiency and convenience of the circuit experiment. At the same time, the remote operation device will also generate a digital twin circuit model corresponding to the circuit experiment, and receive the experimental data sent by the control device in real time, and update and adjust the state of the digital twin circuit model according to the experimental data, so as to display the actual experimental situation of the remote physical circuit through the model. The user can control and monitor the state of the remote physical circuit through the remote operation device, and can efficiently and accurately perform the circuit experiment through the remote operation device anytime and anywhere without arriving at the experimental site, saving time consumption, and improving the efficiency of the circuit experiment. In addition, through the remote online circuit experiment, the investment in experimental equipment can be avoided, and the cost of the circuit experiment can be effectively reduced. For some dangerous circuit experiments, the danger caused by direct operation of the physical circuit can also be avoided, and the safety of the circuit experiment can be improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] Figure 1Schematic diagram of the structure of an online circuit experiment system based on digital twins according to an embodiment of the present invention;

[0034] Figure 2 is a schematic diagram of the structure of a physical circuit according to an embodiment of the present invention;

[0035] Figure 3 It is a schematic diagram of the structure of a physical circuit adjusted according to a control instruction according to an embodiment of the present invention. DETAILED DESCRIPTION

[0036] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the specific embodiments of the present invention are described in detail below in conjunction with the accompanying drawings. Although certain embodiments of the present invention are shown in the accompanying drawings, it should be understood that the present invention can be implemented in various forms and should not be interpreted as being limited to the embodiments described herein. On the contrary, these embodiments are provided to provide a more thorough and complete understanding of the present invention. It should be understood that the drawings and embodiments of the present invention are only for exemplary purposes and are not intended to limit the scope of protection of the present invention.

[0037] It should be understood that the various steps described in the method embodiments of the present invention may be performed in different orders and / or in parallel. In addition, the method embodiments may include additional steps and / or omit the steps shown. The scope of the present invention is not limited in this respect.

[0038] The term "including" and its variations used in this document are open inclusions, that is, "including but not limited to"; the term "based on" means "based at least in part on"; the term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one other embodiment"; the term "some embodiments" means "at least some embodiments"; the term "optionally" means "optional embodiments". The relevant definitions of other terms will be given in the following description. It should be noted that the concepts of "first", "second", etc. mentioned in the present invention are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.

[0039] It should be noted that the modifications of "one" and "plurality" mentioned in the present invention are illustrative rather than restrictive, and those skilled in the art should understand that, unless otherwise clearly indicated in the context, it should be understood as "one or more".

[0040] In response to the problems existing in the above-mentioned related technologies, this embodiment provides an online circuit experiment system and method based on digital twins.

[0041] like Figure 1As shown, an online circuit experiment system based on digital twins provided by an embodiment of the present invention includes a remote operation device, a control device, a physical circuit and a collection device; the control device is respectively connected to the remote operation device, the physical circuit and the collection device in communication; the collection device is connected to the physical circuit in communication:

[0042] Specifically, by designing and building a circuit remote laboratory with physical equipment, users who need to conduct circuit experiments do not need to build circuit experiment scenes by themselves, nor do they need to come to a specific circuit experiment site to conduct circuit experiments. They only need to remotely connect to the equipment in the circuit laboratory online through the online circuit experiment system to conduct circuit experiments. The online circuit experiment system based on digital twins includes: a remote operation device, a control device, a physical circuit and an acquisition device. The remote operation device is set at the user end. Users who need to conduct circuit experiments control the physical circuit through the remote operation device to conduct specific circuit experiments. Specifically, the user inputs the circuit experiment operation to be performed through the remote operation device and obtains the corresponding circuit experiment results. The remote operation device can be set on the implementation system server and logged in by entering the corresponding website. Similarly, the remote operation device can also be a mobile terminal device, such as a mobile phone, tablet or other mobile device that can communicate remotely. The circuit experiment is controlled by connecting to the control device. At the same time, the remote operation device generates circuit results corresponding to the circuit experiment according to the selected circuit experiment. The corresponding pre-set digital twin circuit model is tested. The physical circuit of the circuit experiment is saved in the server in the three-dimensional model file format (OBJ) format. When the circuit experiment is performed through the web page to log in to the experimental server, the corresponding digital twin circuit model is generated by rendering on the browser according to the three-dimensional model file, and the state and properties of the digital twin circuit model can be modified and adjusted according to the experimental data sent by the control device. The user can use the mouse and scroll wheel to zoom in and out from various angles to observe the details of the PCB board corresponding to the circuit system and the state of the physical circuit. It should be noted that the OBJ format is a commonly used three-dimensional model file format for storing vertex coordinates, normals, texture coordinates and other information of the three-dimensional model. The OBJ format usually consists of two files: an .obj file containing vertex information and an .mtl file containing material information. The control device controls the physical circuit to perform corresponding circuit experimental operations according to the received operation instructions. The acquisition device is respectively connected to the control device and the physical circuit for communication, and is used to send the acquired experimental data of the physical circuit to the control device.

[0043] Furthermore, the control device controls the corresponding physical circuit to conduct experiments according to the operation instructions obtained from the remote operation device. The physical circuit may include any circuit such as basic circuit, amplifier circuit, oscillation circuit, power supply circuit measurement circuit and digital circuit, among which the basic circuit includes series circuit and parallel circuit, which are the basis of circuit theory. Through circuit experiments, we can understand the basic concepts and relationships of current, voltage, resistance, etc.; amplifier circuit, which is used to amplify signals, includes transistor amplifier and operational amplifier, etc., and conducting circuit experiments on it helps to understand the principle and method of signal amplification; oscillation circuit, which is a circuit that can generate periodic oscillation signals, is often used in wireless communication, signal generator and other applications; filter circuit, which is used to filter out specific frequency components from the signal, such as low-pass filter, high-pass filter, etc.; power supply circuit, which involves the design and testing of power supply, such as rectifier circuit, filter circuit and voltage stabilization circuit, etc., which is used to convert alternating current into stable direct current; measurement circuit, which is used to measure circuit parameters such as resistance, voltage, current, such as volt-ampere characteristic curve measurement circuit and power measurement circuit, etc.; digital circuit, which involves digital signal processing, such as logic gate circuit, timing circuit, etc., is the basis of computer and digital system. For different physical circuits, corresponding remote control schemes and matching rules are set in the control device, so that the control device can complete the corresponding circuit experiment remotely online according to the user's operating instructions.

[0044] The control device is used to:

[0045] An operation instruction input by a user to the remote operation device is obtained.

[0046] Specifically, the user selects the corresponding circuit experiment through the remote operation device and inputs the remote operation to be performed, that is, the operation instruction. The remote operation device sends the operation instruction input by the user to the control device, and the control device receives the operation instruction. For example, the remote operation device is set on the experimental system server, and the user enters the corresponding URL through the web page to log in, thereby realizing remote online operation, including a circuit control input box. The user enters the corresponding operation instruction in the input box according to the actual experimental needs. When there are only two operations of the operation instruction, for example, there are three metal-oxide-semiconductor field effect transistors (Metal-Oxide-Semiconductor, MOS) in the voltage divider circuit, the operation instruction can be set to 1 or 0, 1 indicates that the MOS tube needs to be controlled to be turned on, and 0 indicates that the MOS tube needs to be controlled to be turned off. When the first MOS tube needs to be controlled to be turned on, 1 is entered in the corresponding input box, and when the second and third MOS tubes need to be controlled to be turned off, 0 is entered in the corresponding input boxes respectively, that is, the operation instruction entered by the user is (1, 0, 0), and the operation instruction is sent to the control device. After the control device obtains the operation instruction, it performs subsequent circuit experiments according to the content of the operation instruction. It should be noted that when the operation of the operation instruction is in multiple situations, specific codes can also be used as corresponding instructions, such as 01, 11, 10 and 00. More bit operation instructions can also be set to meet more complex operation situations. Similarly, the operation instructions can also be set to letters such as a, b or c to represent different operation situations. The corresponding input requirements can be set according to the actual control situation of the experimental circuit.

[0047] The physical circuit is controlled to perform a corresponding circuit experiment according to the operation instruction, and the state of the digital twin circuit model preset in the remote operation device is adjusted according to the experimental data collected by the acquisition device.

[0048] Specifically, the control device parses the acquired operation instruction, controls the physical circuit according to the result of the analysis, and executes the circuit experiment to be performed by the user. For example, in the voltage divider circuit experiment, the operation instruction is (1,0,0). After analysis, the control device controls the gate input of the first MOS tube of the voltage divider circuit to a high level, and the gate input of the second and third MOS tubes to a low level respectively, and then controls the on and off states of the three MOS tubes respectively by the output high and low levels, thereby realizing the control of the physical voltage divider circuit. At the same time, the experimental data in the circuit experiment process is collected in real time by the acquisition device and sent to the control device. The control device sends the received experimental data to the remote operation device, and the corresponding initial digital twin circuit model is pre-generated in the remote device, so as to adjust the properties and states of the digital twin circuit model according to the experimental data, that is, the digital twin circuit model is adjusted according to the experimental data to generate corresponding visualization results, which are used to display the performance and change state during the circuit experiment. The user can monitor the experimental progress and experimental results through the digital twin circuit model.

[0049] In this embodiment, the user inputs the operation instruction into the remote operation device, and the remote operation device sends the operation instruction to the remote control device through the communication connection. The control device controls the physical circuit to perform the circuit experiment according to the operation instruction, so that the user can quickly and efficiently perform online remote circuit experiments through the remote operation device, avoiding the need to go to a specific test site and build an experimental environment for each experiment, saving time and resources, and effectively improving the efficiency of the circuit experiment. At the same time, the remote operation device will also generate a digital twin circuit model corresponding to the circuit experiment, and receive the experimental data sent by the control device in real time, and update and adjust the state of the digital twin circuit model according to the experimental data, so as to display the actual experimental situation of the remote physical circuit through the model. The user can control and monitor the state of the remote physical circuit through the remote operation device, and can perform circuit experiments efficiently and accurately through the remote operation device anytime and anywhere without having to go to the experimental site, saving time and improving the efficiency of the circuit experiment. In addition, through remote online circuit experiments, the investment in experimental equipment can be avoided, effectively reducing the cost of circuit experiments, and for some dangerous circuit experiments, the danger caused by direct operation of the physical circuit can also be avoided, thereby improving the safety of circuit experiments.

[0050] Optionally, the control device is specifically used for:

[0051] Parsing the operation instruction to obtain a corresponding control instruction;

[0052] The physical circuit is controlled according to the control instruction.

[0053] Optionally, the control device is specifically used for:

[0054] Obtaining a matching relationship between all operation instructions and the corresponding control instructions;

[0055] According to the operation finger and the matching relationship, a corresponding control instruction is determined.

[0056] Specifically, according to the actual situation of the experimental circuit, the matching relationship between each operation instruction and the control instruction is preset. For example, in the voltage divider circuit experiment, the voltage divider circuit is set to be an N-channel MOS tube, and the preset matching relationship is that when the operation instruction is 1, the corresponding control instruction is a high level, and when the operation instruction is 0, the corresponding control instruction is a low level. Therefore, when the user inputs 1, the control device generates a corresponding control instruction of a high level, that is, outputs a high level to the gate of the corresponding MOS tube. When the input is 0, the control instruction generated by the control device is a low level, that is, outputs a low level to the gate of the corresponding MOS tube. In the MOS tube, when the voltage between the gate and the source is greater than or equal to the threshold voltage, the MOS tube is turned on. Therefore, the value of the high level can be set according to the corresponding threshold voltage, that is, when the control device controls the output to the gate of the MOS tube to be a high level, the high level makes the voltage between the gate and the source greater than or equal to the threshold voltage, thereby controlling the MOS tube to be turned on. Similarly, the output of a low level controls the MOS tube to be turned off.

[0057] Furthermore, the control device controls corresponding elements in the physical circuit to perform circuit experiments according to the generated control instructions. For example, in a voltage divider circuit, when the control instruction of a MOS tube is a high level, the control device controls the gate of the MOS tube to output a high level, thereby controlling the MOS tube to be turned on, thereby obtaining a corresponding voltage according to the turned-on circuit, and controlling different MOS tubes to be turned on according to the operation instructions, thereby obtaining corresponding multiple experimental results. By comparing and judging different experimental results, the effect of circuit voltage division can be verified.

[0058] In this optional embodiment, through a pre-set matching relationship, the control device determines the control instruction corresponding to each operation instruction, so that the control device accurately controls the physical circuit according to the specific control instruction to realize the user's specific operation of the circuit experiment. Through the matching relationship, the circuit experiment is ensured to be carried out quickly and accurately, thereby improving the efficiency and accuracy of the remote user in conducting circuit experiments.

[0059] Optionally, the control device is specifically used for:

[0060] When the operation instruction satisfies the matching relationship, determining the corresponding control instruction according to the operation instruction;

[0061] When the operation instruction does not satisfy the matching relationship, a format non-compliance prompt is sent to the remote operation device.

[0062] Specifically, the control device searches for an operation instruction corresponding to the operation instruction in the acquired preset matching relationship based on the received operation instruction. When the same operation instruction is found in the matching relationship, it is determined that the received operation instruction satisfies the matching relationship, and the matching relationship and the control instruction corresponding to it are determined as the control instruction corresponding to the user input operation instruction. When the same operation instruction is not found in the matching relationship, it is determined that the received operation instruction does not satisfy the matching relationship, and the corresponding control instruction cannot be generated, and the user input information may have a format error. The control device sends the generated non-formatted alarm prompt to the remote operation device, and the remote operation device displays the received non-formatted prompt to the user to remind the user that the current input information Error, re-enter the correct operation instruction. For example, in the matching relationship, 1 corresponds to a high level and 0 corresponds to a low level. When the operation instruction input by the user is 1, the corresponding control instruction can be matched to a high level. When the operation instruction input by the user is a, the corresponding information cannot be found in the matching relationship, then it is judged that the matching relationship is not satisfied, and the generated non-compliant format prompt is sent to the remote operation device. It should be noted that the matching relationship here is only an example. The specific matching relationship is set according to the corresponding circuit implementation and the corresponding physical circuit. For example, when there are multiple gear switches in the physical circuit, taking four gears as an example, the matching relationship can be: 00 corresponds to the first gear, 01 corresponds to the second gear, 10 corresponds to the third gear, and 11 corresponds to the fourth gear.

[0063] In this optional embodiment, by judging whether the operation instruction satisfies the matching relationship and judging the accuracy of the user input information, the experiment progress is avoided from being affected by the inability to conduct the circuit experiment due to the input of incorrect operation instructions. By judging the operation instruction, the smooth progress of the circuit experiment is guaranteed and the efficiency of the circuit experiment is improved.

[0064] Optionally, the physical circuit includes a first control switch, a second control switch and a third control switch; the control instruction includes a first control instruction, a second control instruction and a third control instruction; and the control device is specifically used for:

[0065] When the first control instruction is at a high level, the first control switch is controlled to be turned on; otherwise, the first control switch is not turned on;

[0066] When the second control instruction is at a high level, the second control switch is controlled to be turned on, otherwise the second control switch is not turned on;

[0067] When the third control instruction is at a high level, the third control switch is controlled to be turned on; otherwise, the third control switch is turned off.

[0068] Exemplarily, when the physical circuit is a voltage divider circuit, the voltage divider circuit includes three control switches, namely a first control switch, a second control switch and a third control switch. The voltage divider circuit is controlled by the above three control switches, that is, the voltage divider circuit experiment is controlled by the three control switches. The user inputs the operation instructions corresponding to the three control switches on the remote operation device, and the control device generates three control instructions according to the operation instructions. The corresponding control switches are controlled by the three control instructions. For example, when the operation instruction input by the user is (1, 0, 0), the control device can obtain the first control instruction as a high level, the second control instruction as a third level, and the third control instruction as a low level according to the matching relationship. The control device controls the first control switch to be turned on according to the high level, and controls the second control switch and the third control switch to be turned off according to the low level, that is, not turned on. By controlling the control switches in the voltage divider circuit, the voltage divider circuit experiment can be accurately controlled, and then different voltage dividing results are obtained through different on-off combinations of the control switches, thereby verifying the voltage dividing principle.

[0069] Optionally, the system further comprises a webcam;

[0070] The network camera is used to collect the experimental pictures of the circuit experiment and send the experimental pictures to the remote operation device.

[0071] Specifically, the on-site circuit experiment is monitored in real time through a network camera, and the collected experimental images of the circuit experiment are sent to the remote operation device through a remote communication method such as the network, so that the user can monitor the circuit experiment through the experimental images received by the remote online remote experiment device, ensuring the safety and efficiency of the circuit experiment. Network cameras include IP cameras or wireless network cameras and other devices that can realize remote image transmission, among which IP cameras can be connected to routers or network access devices through the network, transmit real-time video images of circuit experiments to the remote operation device, and support remote monitoring and recording functions; wireless network cameras can be connected to the network through Wi-Fi, without the need to use network cables for connection, and are convenient for deployment and movement.

[0072] Optionally, the system further comprises a storage device;

[0073] The storage device is used to store the operating instructions and the experimental data.

[0074] Specifically, by storing the experimental data corresponding to the operating instructions of the circuit experiment process in a storage device, the user can retrieve the operating instructions and experimental data corresponding to the circuit experiment from the storage device at any time, understand the process and results of previous circuit experiments, and thus guide the progress of the current circuit experiment. At the same time, it effectively avoids repeated experiments, saves experimental resources and experimental time, effectively improves the efficiency of circuit experiments, and saves resource consumption.

[0075] Optionally, the physical circuit includes a control switch module, a voltage-dividing resistor, a power module and a voltmeter; the control switch module, the voltage-dividing resistor and the power module are connected in series, and the voltmeter is connected in parallel to the control switch module.

[0076] Optionally, the control switch module includes a first control switch, a second control switch and a third control switch, the first control switch, the second control switch and the third control switch are connected in parallel, the first control switch includes a first resistor and a first MOS tube, the first resistor is connected in series with the first MOS tube, the second control switch includes a second resistor and a second MOS tube, the second resistor is connected in series with the second MOS tube, the third control switch includes a third resistor and a third MOS tube, the third resistor is connected in series with the third MOS tube, and the gates of the first MOS tube, the second MOS tube and the third MOS tube are respectively connected to the control device.

[0077] Specifically, Figure 2 The voltage source of the power module is VCC, R4 is a voltage-dividing resistor of the physical circuit, one end of the voltage-dividing resistor R4 is connected to the voltage source, and the other end is respectively connected to the first resistor R1, the second resistor R2, the third resistor R3 and one end of the voltmeter H2, the other end of the voltmeter H2 is connected to the grounding point GND, the other end of the first resistor R1 is connected to the drain D of the first MOS tube M1, the source S of the first MOS tube M1 is connected to the grounding point GND, the other end of the second resistor R2 is connected to the drain D of the second MOS tube M2, the source S of the second MOS tube M2 is connected to the grounding point GND, the other end of the third resistor R3 is connected to the drain D of the third MOS tube M3, the source S of the third MOS tube M3 is connected to the grounding point GND, the gate G of the first MOS tube M1 is connected to pin 1 of the output pin H1 of the control device, the gate G of the second MOS tube M2 is connected to pin 2 of the output pin H1 of the control device, and the gate G of the third MOS tube M3 is connected to pin 3 of the output pin H1 of the control device.

[0078] Further, the control device outputs corresponding high and low levels to the corresponding MOS tube gates through the three pins in the output pin H1, thereby controlling the on and off of the corresponding MOS tube. For example, when the voltage source VCC is 5V, the voltage divider resistor R4 is 2kΩ, the first resistor R1 is 2kΩ, the second resistor R2 is 4kΩ, and the third resistor R3 is 6kΩ, when the control instruction of the control device is that pin 1 outputs a high level, and pins 2 and 3 output a low level, the first MOS tube M1 is turned on, and the second MOS tube M2 and the third MOS tube M3 are turned off, thereby obtaining the following Figure 3As shown in the circuit path state, at this time, since the resistance values ​​of the voltage-dividing resistor R4 and the first resistor R1 are both 2kΩ, and the voltage of the voltage source VCC is 5V, theoretically the voltage across R1 should be 5V÷2=2.5V, and the actual detection voltage of the voltmeter H2 is 2.5244V, so the voltage division situation of the circuit in the current state can be determined. Through the same method, according to different user operation instructions, the voltmeter can detect different voltage values, so that the voltages of multiple circuit states actually measured by the voltmeter are analyzed and compared with the theoretical voltage values, and the circuit voltage division principle is verified according to the comparison results.

[0079] In this optional embodiment, by controlling the physical circuit to conduct circuit experiments, it can help understand the voltage division principle in the circuit, that is, how to use switching elements to obtain different loops, thereby obtaining outputs of different voltages. Through experimental observation and measurement, it is possible to deeply understand the working principle and calculation method of circuit voltage division, and then understand and master the design principles and debugging methods of the circuit, which is of great significance to the study of the field of electronic circuits.

[0080] An embodiment of the present invention provides an online circuit experiment method based on digital twins, including:

[0081] Acquire an operation instruction inputted by a user into a remote operation device;

[0082] According to the operation instructions, the physical circuit is controlled to perform the corresponding circuit experiment, and according to the experimental data collected by the acquisition device, the state of the digital twin circuit model preset in the remote operation device is adjusted.

[0083] Specifically, the user inputs the circuit experiment operation to be performed into the remote operation device, the remote operation device generates a corresponding operation instruction, and sends the operation instruction to the control device. After receiving the operation instruction, the control device parses it to obtain the corresponding control instruction. The control device outputs a corresponding signal to the physical circuit through the corresponding interface according to the control instruction, thereby controlling the physical circuit to perform the corresponding circuit experiment. At the same time, the experimental data of the circuit experiment site is obtained through the acquisition device, and the state of the digital twin circuit model pre-set in the remote operation device is adjusted at any time according to the acquired experimental data. The digital twin circuit model is pre-generated according to the physical circuit in the circuit experiment. By adjusting the state of the digital twin circuit model, it always keeps it consistent with the real-time experimental state of the physical circuit, so that the user can intuitively observe the progress and changing state of the circuit experiment through the digital twin circuit model.

[0084] The digital twin-based online circuit experiment method of this embodiment generates corresponding control instructions according to the operation instructions input by the user in the remote operation device, so that the physical circuit can be accurately controlled through the control instructions to perform the circuit experiment operation that the remote user wants to perform, and the state of the pre-generated digital twin circuit model is adjusted according to the experimental data of the circuit experiment, so that the user can intuitively observe the changing state of the physical circuit in the circuit experiment.

[0085] A person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment method can be completed by instructing the relevant hardware through a computer program, and the program can be stored in a computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, the storage medium can be a disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM), etc. In the present application, the unit described as a separate component may or may not be physically separated, and the component displayed as a unit may or may not be a physical unit, that is, it may be located in one place, or it may be distributed on multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the embodiment of the present invention. In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of a software functional unit.

[0086] Although the present invention is disclosed as above, the protection scope of the present invention is not limited thereto. Those skilled in the art may make various changes and modifications without departing from the spirit and scope of the present invention, and these changes and modifications will fall within the protection scope of the present invention.

Claims

1. An online circuit experiment system based on digital twins, characterized in that: It includes a remote operation device, a control device, a physical circuit and a collection device; the control device is respectively connected to the remote operation device, the physical circuit and the collection device in communication; the collection device is connected to the physical circuit in communication; The control device is used for: Acquiring an operation instruction input by a user into the remote operation device; The physical circuit is controlled to perform a corresponding circuit experiment according to the operation instruction, and the state of the digital twin circuit model preset in the remote operation device is adjusted according to the experimental data collected by the acquisition device.

2. The online circuit experiment system based on digital twin according to claim 1 is characterized in that: The control device is specifically used for: Parsing the operation instruction to obtain a corresponding control instruction; The physical circuit is controlled according to the control instruction.

3. The online circuit experiment system based on digital twin according to claim 2 is characterized in that: The control device is specifically used for: Obtaining matching relationships between various operation instructions and corresponding control instructions; According to the operation instruction and the matching relationship, a corresponding control instruction is determined.

4. The online circuit experiment system based on digital twin according to claim 3 is characterized in that: The control device is specifically used for: When the operation instruction satisfies the matching relationship, determining the corresponding control instruction according to the operation instruction; When the operation instruction does not satisfy the matching relationship, a prompt not meeting the format is sent to the remote operation device.

5. The online circuit experiment system based on digital twin according to claim 2 is characterized in that: The physical circuit includes a first control switch, a second control switch and a third control switch; the control instruction includes a first control instruction, a second control instruction and a third control instruction; the control device is specifically used for: When the first control instruction is at a high level, the first control switch is controlled to be turned on; otherwise, the first control switch is not turned on; When the second control instruction is at a high level, the second control switch is controlled to be turned on, otherwise the second control switch is not turned on; When the third control instruction is at a high level, the third control switch is controlled to be turned on; otherwise, the third control switch is turned off.

6. The online circuit experiment system based on digital twin according to claim 1 is characterized in that: Also includes a webcam; The network camera is used to collect the experimental picture of the circuit experiment and send the experimental picture to the remote operation device.

7. The online circuit experiment system based on digital twin according to claim 1 is characterized in that: Also included is a storage device; The storage device is used to store the operating instructions and the experimental data.

8. The online circuit experiment system based on digital twin according to claim 1 is characterized in that: The physical circuit includes a control switch module, a voltage-dividing resistor, a power module and a voltmeter; the control switch module, the voltage-dividing resistor and the power module are connected in series, and the voltmeter is connected in parallel with the control switch module.

9. The online circuit experiment system based on digital twin according to claim 8 is characterized in that: The control switch module includes a first control switch, a second control switch and a third control switch, the first control switch, the second control switch and the third control switch are connected in parallel, the first control switch includes a first resistor and a first MOS tube, the first resistor is connected in series with the first MOS tube, the second control switch includes a second resistor and a second MOS tube, the second resistor is connected in series with the second MOS tube, the third control switch includes a third resistor and a third MOS tube, the third resistor is connected in series with the third MOS tube, and the gates of the first MOS tube, the second MOS tube and the third MOS tube are respectively connected to the control device.

10. An online circuit experiment method based on digital twin, characterized in that: Applied to the online circuit experiment system based on digital twin as claimed in any one of claims 1 to 9, the online circuit experiment method based on digital twin comprises: Acquire an operation instruction inputted by a user into a remote operation device; According to the operation instructions, the physical circuit is controlled to perform the corresponding circuit experiment, and according to the experimental data collected by the acquisition device, the state of the digital twin circuit model preset in the remote operation device is adjusted.

Citation Information

Patent Citations

  • Industry-university-research combined scene type remote experiment teaching device and design method

    CN111932970A

  • Automobile remote practical training method, system and device based on digital twinning and medium

    CN114724430A

  • Circuit experiment teaching system and method based on digital twinborn technology

    CN116110275A

  • Remote control electronic circuit experiment system

    CN116543628A