CN219715970U - Object simulation module - Google Patents
Object simulation module Download PDFInfo
- Publication number
- CN219715970U CN219715970U CN202220437250.1U CN202220437250U CN219715970U CN 219715970 U CN219715970 U CN 219715970U CN 202220437250 U CN202220437250 U CN 202220437250U CN 219715970 U CN219715970 U CN 219715970U
- Authority
- CN
- China
- Prior art keywords
- circuit
- analog
- communication
- simulation module
- signals
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000004088 simulation Methods 0.000 title claims abstract description 25
- 238000004891 communication Methods 0.000 claims abstract description 41
- 230000003993 interaction Effects 0.000 claims abstract description 16
- 238000004886 process control Methods 0.000 claims abstract description 15
- 238000005070 sampling Methods 0.000 claims abstract description 15
- 238000013178 mathematical model Methods 0.000 claims abstract description 9
- 238000004364 calculation method Methods 0.000 claims abstract description 6
- 230000003321 amplification Effects 0.000 claims description 5
- 238000003199 nucleic acid amplification method Methods 0.000 claims description 5
- 238000001914 filtration Methods 0.000 claims description 3
- 230000002401 inhibitory effect Effects 0.000 claims description 3
- 238000011084 recovery Methods 0.000 claims description 3
- 238000000034 method Methods 0.000 abstract description 27
- 238000010586 diagram Methods 0.000 description 6
- 238000010438 heat treatment Methods 0.000 description 6
- 239000004973 liquid crystal related substance Substances 0.000 description 4
- 238000012360 testing method Methods 0.000 description 3
- 238000004422 calculation algorithm Methods 0.000 description 2
- 239000007788 liquid Substances 0.000 description 2
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 description 2
- 238000006243 chemical reaction Methods 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000011156 evaluation Methods 0.000 description 1
- 238000011990 functional testing Methods 0.000 description 1
- RVRCFVVLDHTFFA-UHFFFAOYSA-N heptasodium;tungsten;nonatriacontahydrate Chemical compound O.O.O.O.O.O.O.O.O.O.O.O.O.O.O.O.O.O.O.O.O.O.O.O.O.O.O.O.O.O.O.O.O.O.O.O.O.O.O.[Na+].[Na+].[Na+].[Na+].[Na+].[Na+].[Na+].[W].[W].[W].[W].[W].[W].[W].[W].[W].[W].[W] RVRCFVVLDHTFFA-UHFFFAOYSA-N 0.000 description 1
- 238000009413 insulation Methods 0.000 description 1
- 238000012821 model calculation Methods 0.000 description 1
- 238000005457 optimization Methods 0.000 description 1
- 230000002265 prevention Effects 0.000 description 1
Landscapes
- Testing And Monitoring For Control Systems (AREA)
Abstract
The utility model provides an object simulation module which can simulate the process data output of various control objects according to the setting and provide reliable experimental objects for evaluating the aspects of the process control function, the use method, the control precision and the like of an industrial controller. It comprises the following steps: a control circuit; a man-machine interaction part; the control circuit comprises an ARM controller module, an analog input sampling circuit, an analog output circuit and a communication interface circuit, wherein the ARM controller module is used for collecting external input analog signals, performing mathematical model calculation, outputting PWM signals with corresponding proportion and simultaneously providing a communication interface for upper computer communication; the analog quantity input sampling circuit is used for receiving an external setting value; the analog quantity output circuit is used for converting a simulation result and PWM signals with corresponding proportion into standard analog signals for a process control system; the communication interface circuit provides a communication interface and is used for being connected with an upper computer; the control circuit and the man-machine interaction part are in communication connection through an SPI bus.
Description
Technical Field
The utility model relates to the technical field of industrial signal detection, in particular to an object simulation module.
Background
In the prior art, process control objects (such as electric furnace heating, water level control, flow control and pressure control) are all built by adopting real objects, real heating, liquid level control and the like are carried out according to output signals of an industrial controller, and process data are fed back to the industrial controller;
when evaluating an industrial controller, a user programs through development software provided by equipment manufacturers to control real physical objects (such as an electric furnace, a water tank and a pressure container), then uses a sensor to detect process data, converts the process data into 4-20mA or 0-10V by a transmitter, feeds back the process data to the industrial controller, and realizes the use (such as PID) of a process control algorithm in the industrial controller so as to evaluate the performance index and the use method of the controller;
the prior technology using the object control object has the following defects:
1. different physical control objects are required to be built according to different control objects, so that the input cost is high and the process period is long;
2. the requirements on the external environment, such as heat insulation, fire prevention, liquid leakage and the like, are met, and unsafe experimental hidden dangers are required to be prevented;
3. the flexibility is low, the physical object can not output the process data under the extreme condition, and the user is difficult to verify the stability of the control algorithm.
Disclosure of Invention
In view of the above problems, the present utility model provides an object simulation module, which can simulate process data output of various control objects according to settings, and provide reliable experimental objects for evaluating aspects of process control functions, use methods, control accuracy, etc. of an industrial controller.
An object simulation module, comprising:
a control circuit;
a man-machine interaction part;
the control circuit comprises an ARM controller module, an analog input sampling circuit, an analog output circuit and a communication interface circuit, wherein the ARM controller module is used for collecting external input analog signals, performing mathematical model calculation, outputting PWM signals with corresponding proportion and simultaneously providing a communication interface for upper computer communication;
the analog input sampling circuit is used for receiving an external setting value;
the analog output circuit is used for converting a simulation result and PWM signals with corresponding proportion into standard analog signals for a process control system;
the communication interface circuit provides a communication interface and is used for being connected with an upper computer;
the control circuit is in communication connection with the man-machine interaction part through the SPI bus, and the man-machine interaction part is used for displaying model names, analog input values, analog output values and corresponding quantized physical values.
It is further characterized by:
the analog input sampling circuit comprises a voltage division circuit and a two-stage first-order RC filter, wherein the analog input sampling circuit receives 0-10V of an external analog input instruction signal, converts the signal into a range of 0-3.3V after passing through the voltage division circuit, and then inputs the signal into an AD input pin of the ARM controller module through the two-stage first-order RC filter;
a first surge protection structure is arranged at a filtering output position of the two-stage first-order RC filter to protect a port of the ARM controller module;
the first surge protection structure is specifically a diode and a TVS diode;
the analog output circuit comprises two parts, namely a signal filter part and a signal amplification part, the analog output circuit comprises a two-stage first-order RC filter, a transport amplifier and an emitter follower, the two-stage first-order RC filter converts PWM signals output by the ARM controller module into smooth analog signals, then the transport amplifier is used for signal following and in-phase amplification, and then the PWM signals are connected into the emitter follower and converted into 0-10V standard signals, so that the on-load capacity is improved;
the interface corresponding to the output of the emitter follower is provided with a second surge protection structure;
the second surge protection structure is specifically a 750mA self-recovery fuse and a TVS diode;
the communication interface circuit provides data communication capability and comprises an RS485 interface circuit and an Ethernet interface circuit;
the RS485 interface circuit takes MAX13085 as an interface chip, a pull-up resistor RC circuit and a pull-down resistor RC circuit are added in an interface circuit to improve the anti-interference capability, and current limiting resistors R17 and R18 are used for inhibiting the impact current in a communication circuit and increasing TVS diode protection;
the Ethernet interface circuit adopts a W5500 Ethernet cooperative controller, and the Ethernet interface circuit and the ARM controller module carry out data interaction through an SPI bus.
After the structure of the utility model is adopted, the model codes are input into the microprocessor control circuit and the analog quantity output circuit of the ARM controller through the upper computer in advance, so that the microprocessor control circuit receives the external input analog quantity signals and then carries out corresponding mathematical model calculation to output PWM pulse signals, the analog quantity output circuit calculates the PWM pulse signals according to the mathematical model to obtain standard analog signals for a process control system and outputs the standard analog signals, and the switching and parameter setting can be carried out rapidly according to the object to be controlled; process data at various extremes can be simulated; the method does not need to build a real process control experimental object, saves cost and ensures high cost performance: the communication interfaces are rich, two types of communication interfaces, namely RS485 and Ethernet are provided, data communication is carried out with an upper computer, and a historical data curve is produced or stored; the method can simulate the process data output of various control objects according to the setting, and provides a reliable experimental object for evaluating the process control function, the use method, the control precision and the like of the industrial controller.
Drawings
FIG. 1 is a schematic block diagram of the structure of the present utility model;
FIG. 2 is a circuit block diagram of an ARM controller module of the present utility model;
FIG. 3 is a circuit diagram of an analog input sampling circuit of the present utility model;
FIG. 4 is a circuit diagram of an analog output circuit of the present utility model;
FIG. 5 is a circuit diagram of an RS485 interface circuit of the utility model;
fig. 6 is a circuit configuration diagram of an ethernet interface circuit of the present utility model.
Detailed Description
An object simulation module, see fig. 1-6, includes a control circuit and a human-computer interaction portion;
the control circuit comprises an ARM controller module, an analog input sampling circuit, an analog output circuit and a communication interface circuit, wherein the ARM controller module is used for collecting external input analog signals, performing mathematical model calculation, outputting PWM signals with corresponding proportion and simultaneously providing a communication interface for upper computer communication;
the analog quantity input sampling circuit is used for receiving an external setting value;
the analog quantity output circuit is used for converting a simulation result and PWM signals with corresponding proportion into standard analog signals for a process control system;
the communication interface circuit provides a communication interface and is used for being connected with an upper computer;
the control circuit and the man-machine interaction part are in communication connection through an SPI bus, and the man-machine interaction part is used for displaying model names, analog input values, analog output values and corresponding quantized physical values.
The specific implementation method comprises the following steps:
the analog input sampling circuit comprises a voltage dividing circuit and a two-stage first-order RC filter, the analog input sampling circuit receives an external analog input command signal of 0-10V, converts the signal into a range of 0-3.3V after passing through the voltage dividing circuit, then inputs the signal into an AD input pin of the ARM controller module through the two-stage first-order RC filter,
a first surge protection structure is arranged at the filtering output of the two-stage first-order RC filter to protect the port of the ARM controller module; in a specific embodiment, the first surge protection structure is specifically a diode and a TVS diode;
the analog output circuit comprises two parts, namely a signal filter and a signal amplifier, wherein the analog output circuit comprises a two-stage first-order RC filter, a transport amplifier and an emitter follower, the two-stage first-order RC filter converts PWM signals output by the ARM controller module into smooth analog signals, then the transport amplifier is used for signal following and in-phase amplification, and then the transport amplifier is connected to the emitter follower to convert the signals into 0-10V standard signals, so that the load capacity is improved;
the interface corresponding to the output of the emitter follower is provided with a second surge protection structure; in a specific embodiment, the emitter follower is a triode emitter follower, and the second surge protection structure is a 750mA self-recovery fuse and a TVS diode;
the communication interface circuit provides data communication capability and comprises an RS485 interface circuit and an Ethernet interface circuit;
in the specific embodiment, the RS485 interface circuit is specifically an RS485 lightning protection communication circuit, MAX13085 is used as an interface chip, a pull-up resistor RC circuit and a pull-down resistor RC circuit are added in an interface circuit to improve the anti-interference capability, and current limiting resistors R17 and R18 are used for inhibiting the impact current in the communication circuit and increasing the TVS diode protection;
in a specific embodiment, the Ethernet interface circuit adopts a W5500 Ethernet cooperative controller, and the Ethernet interface circuit and the ARM controller module carry out data interaction through an SPI bus;
in a specific embodiment, the man-machine interaction part is specifically an OLED liquid crystal display screen, the OLED liquid crystal display screen performs data communication with the ARM controller module through an SPI bus, process data are updated and displayed in real time, and the OLED liquid crystal display screen displays a currently set model name, an analog input value, an analog output value and a quantized physical value.
The functional test of the specific embodiment is as follows:
the evaluation object is PID function test of a certain PLC;
test purpose: 1. the PLC instruction function stability; 2. process control accuracy (PID instruction control accuracy, PLC built-in AD/DA circuit conversion accuracy); 3. PLC process curve graphical interaction mode optimization
Simulation object: heating electric stove
Parameter ranges: analog quantity Setting (SV) is 0-10V, and analog quantity feedback (PV) of the simulation process is 0-10V; temperature control range: the current ambient temperature is 1200 DEG C
The testing process comprises the following steps: the user selects the simulation object controlled by the PLC as the heating electric furnace through the OLED liquid crystal display panel. The mathematical model of the heating electric furnace is a first-order delay system (K/(Ts+1)), and the object simulation module performs model calculation according to an external input analog signal SV value output by the PLC, simulates the heating temperature rise process of the electric furnace, and feeds back real-time temperature to an AD input port (PV value) of the PLC.
When sv=0v, pv=0.2v, i.e. the furnace temperature is the current ambient temperature;
when sv=10v, after a period of time (depending on the delay factor T of the electric furnace model), PV rises to 10V, i.e. the electric furnace temperature is 1200 ℃.
The working principle is as follows: the model codes are input into a microprocessor control circuit and an analog quantity output circuit of the ARM controller through an upper computer in advance, so that the microprocessor control circuit receives external input analog quantity signals, performs corresponding mathematical model calculation and outputs PWM pulse signals, the analog quantity output circuit calculates the PWM pulse signals according to the mathematical model to obtain standard analog signals for a process control system, and the PWM pulse signals can be quickly switched and parameter set according to objects to be controlled; process data at various extremes can be simulated; the method does not need to build a real process control experimental object, saves cost and ensures high cost performance: the communication interfaces are rich, two types of communication interfaces, namely RS485 and Ethernet are provided, data communication is carried out with an upper computer, and a historical data curve is produced or stored; the method can simulate the process data output of various control objects according to the setting, and provides a reliable experimental object for evaluating the process control function, the use method, the control precision and the like of the industrial controller.
It will be evident to those skilled in the art that the utility model is not limited to the details of the foregoing illustrative embodiments, and that the present utility model may be embodied in other specific forms without departing from the spirit or essential characteristics thereof. The present embodiments are, therefore, to be considered in all respects as illustrative and not restrictive, the scope of the utility model being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein. Any reference sign in a claim should not be construed as limiting the claim concerned.
Furthermore, it should be understood that although the present disclosure describes embodiments, not every embodiment is provided with a separate embodiment, and that this description is provided for clarity only, and that the disclosure is not limited to the embodiments described in detail below, and that the embodiments described in the examples may be combined as appropriate to form other embodiments that will be apparent to those skilled in the art.
Claims (10)
1. An object simulation module, comprising:
a control circuit;
a man-machine interaction part;
the control circuit comprises an ARM controller module, an analog input sampling circuit, an analog output circuit and a communication interface circuit, wherein the ARM controller module is used for collecting external input analog signals, performing mathematical model calculation, outputting PWM signals with corresponding proportion and simultaneously providing a communication interface for upper computer communication;
the analog input sampling circuit is used for receiving an external setting value;
the analog output circuit is used for converting a simulation result and PWM signals with corresponding proportion into standard analog signals for a process control system;
the communication interface circuit provides a communication interface and is used for being connected with an upper computer;
the control circuit is in communication connection with the man-machine interaction part through the SPI bus, and the man-machine interaction part is used for displaying model names, analog input values, analog output values and corresponding quantized physical values.
2. The object simulation module of claim 1, wherein: the analog input sampling circuit comprises a voltage division circuit and a two-stage first-order RC filter, wherein the analog input sampling circuit receives 0-10V of an external analog input command signal, converts the signal into a range of 0-3.3V after passing through the voltage division circuit, and then inputs the signal into an AD input pin of the ARM controller module through the two-stage first-order RC filter.
3. An object simulation module according to claim 2, wherein: and a first surge protection structure is arranged at the filtering output position of the two-stage first-order RC filter to protect the port of the ARM controller module.
4. An object simulation module according to claim 3, wherein: the first surge protection structure is specifically a diode and a TVS diode.
5. The object simulation module of claim 1, wherein: the analog output circuit comprises two parts, namely a signal filter part and a signal amplification part, the analog output circuit comprises a two-stage first-order RC filter, a transport amplifier and an emitter follower, the two-stage first-order RC filter converts PWM signals output by the ARM controller module into smooth analog signals, and then the PWM signals are subjected to signal following and in-phase amplification by using the transport amplifier, connected to the emitter follower and converted into 0-10V standard signals.
6. The object simulation module of claim 5, wherein: and a second surge protection structure is arranged at an interface corresponding to the output of the emitter follower.
7. The object simulation module of claim 6, wherein: the second surge protection structure is specifically a 750mA self-recovery fuse and a TVS diode.
8. The object simulation module of claim 1, wherein: the communication interface circuit provides data communication capability, including an RS485 interface circuit and an ethernet interface circuit.
9. The object simulation module of claim 8, wherein: and the RS485 interface circuit takes MAX13085 as an interface chip, a pull-up resistor RC circuit and a pull-down resistor RC circuit are added in an interface circuit to improve the anti-interference capability, and current limiting resistors R17 and R18 are used for inhibiting the impact current in a communication circuit and increasing the TVS diode protection.
10. The object simulation module of claim 8, wherein: the Ethernet interface circuit adopts a W5500 Ethernet cooperative controller, and the Ethernet interface circuit and the ARM controller module carry out data interaction through an SPI bus.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202220437250.1U CN219715970U (en) | 2022-03-01 | 2022-03-01 | Object simulation module |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202220437250.1U CN219715970U (en) | 2022-03-01 | 2022-03-01 | Object simulation module |
Publications (1)
Publication Number | Publication Date |
---|---|
CN219715970U true CN219715970U (en) | 2023-09-19 |
Family
ID=88001573
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202220437250.1U Active CN219715970U (en) | 2022-03-01 | 2022-03-01 | Object simulation module |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN219715970U (en) |
-
2022
- 2022-03-01 CN CN202220437250.1U patent/CN219715970U/en active Active
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103309321A (en) | Cold state simulation system applied to coal chemical industry | |
CN103116128A (en) | Breaker overload testing device and operation method thereof | |
CN201196737Y (en) | Monitoring system used for environment simulation | |
CN104454790A (en) | Electro-hydraulic servo valve performance test system | |
CN203825107U (en) | Wiring harness tester | |
CN219715970U (en) | Object simulation module | |
CN104503498A (en) | Precise flow control method of proportional valve | |
CN204855788U (en) | Error treater and electric energy meter calibration device | |
CN114488913A (en) | Object simulation module | |
CN202956663U (en) | Automatic debugging instrument of engineering machinery full-power control system | |
CN102943916B (en) | Electronic expansion valve driver | |
CN111208797A (en) | Integrated tester for electronic regulator of aircraft aeroengine | |
CN202382355U (en) | Temperature detection and control system for air-conditioner | |
CN202995454U (en) | Automobile generator regulator testing instrument | |
CN217467520U (en) | Virtual simulation controller and virtual simulation control system of single chip microcomputer | |
CN204576107U (en) | The semi-matter simulating system of Chemical Engineering Process Control | |
CN210323277U (en) | Electrochemical sensor simulation device | |
CN102565693A (en) | Mechanical and electrical service life testing system | |
CN207424672U (en) | Laser level control instrument test device | |
CN214311433U (en) | Wind generating set master control PLC integrated circuit board test platform | |
CN204166772U (en) | A kind of comprehensive training device applied based on virtual instrument Labview | |
CN203616646U (en) | Resistor-type analog signal generation sampling amplifier circuit | |
CN109774967B (en) | On-line detection method for simulating engine lubricating oil temperature and avionics system crosslinking | |
CN203909527U (en) | Sensor signal simulator | |
CN203849009U (en) | A valve electric apparatus usage life test stand |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
GR01 | Patent grant | ||
GR01 | Patent grant |