CN110286617A - The digital dynamic static controller of double-core and its application method - Google Patents

The digital dynamic static controller of double-core and its application method Download PDF

Info

Publication number
CN110286617A
CN110286617A CN201910476521.7A CN201910476521A CN110286617A CN 110286617 A CN110286617 A CN 110286617A CN 201910476521 A CN201910476521 A CN 201910476521A CN 110286617 A CN110286617 A CN 110286617A
Authority
CN
China
Prior art keywords
processor
double
port
digital dynamic
static controller
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.)
Pending
Application number
CN201910476521.7A
Other languages
Chinese (zh)
Inventor
张小康
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Kell Dreyfus Stress Corrosion Test Equipment Co Ltd
Original Assignee
Shanghai Kell Dreyfus Stress Corrosion Test Equipment Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Kell Dreyfus Stress Corrosion Test Equipment Co Ltd filed Critical Shanghai Kell Dreyfus Stress Corrosion Test Equipment Co Ltd
Priority to CN201910476521.7A priority Critical patent/CN110286617A/en
Publication of CN110286617A publication Critical patent/CN110286617A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/042Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
    • G05B19/0423Input/output
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/25Pc structure of the system
    • G05B2219/25257Microcontroller

Abstract

The present invention provides a kind of digital dynamic static controller of double-core and its application methods, comprising: first processor and second processor are connected between the first processor and the second processor by cache parallel communications;Wherein, the first processor has multiple data acquisition channels, and multiple data acquisition channels are connect with testing machine sensor, for acquiring the state parameter of the testing machine;The first processor is also used to generate pid control signal, to realize the closed-loop control to the testing machine;The second processor and computer communicate to connect, and the data for acquiring the first processor are transferred to the computer.The present invention is able to carry out multi-channel signal acquiring, realizes dynamic and static loading control, meets the application demand of Material Testing Machine.

Description

The digital dynamic static controller of double-core and its application method
Technical field
The present invention relates to Industrial Engineering Technology fields, and in particular, to the digital dynamic static controller of double-core and its application Method.
Background technique
In many fields of development in science and technology, closed-loop control (PID) system of quick response is needed to carry out data acquisition and control System load.Material Testing Machine needs to realize loading procedure static loading control and moves when carrying out material mechanical performance test State load control, to meet the method for testing materials of various criterion requirement.
Existing test machine control system is roughly divided into three classes currently on the market: (1) computer-internal inserts capture card and letter The system of number output card carries out signal acquisition and closed-loop control operation, Windows by the Testing Software under computer Windows For non-real-time multi-task schedule system, so that signal acquisition and the period of time T of closed-loop control operation can fluctuate, closed-loop control is Operation control is carried out based on cycle T, the fluctuation of T causes the decline of control precision and unstability to increase;(2) exchange is used The test machine control system of servo-system realizes average rate load by the speed closed loop of AC servo, has basically reached position The load on control of speed control and sample elasticity section is moved, such mode does not have versatility, can only be used in specific control System requires, and cannot achieve closed-loop control load for the testing machine of hydraulic loaded, there is significant limitation.(3) it realizes basic Closed-loop control require TT&C system, can carry out power, displacement, the closed-loop control of strain and channel switching, but itself because use Lower 8 bit CPU of arithmetic speed, closed-loop control adjust frequency and are usually less than 300Hz, and the floating-point of double precision can not be supported to transport It calculates, cannot achieve dynamically load control, can not also carry out the load control of extremely low speed.
For first two control system, there are biggish limitations, and the development for not being well positioned to meet Material Testing Machine needs It asks.The testing machine closed-loop control system that can be inquired, the visualization closed-loop control PID ginseng of Patent No. CN200820060215.2 Number regulating system is a kind of system for configuring liquid crystal display and being shown and realizing closed-loop parameters adjusting, has had been provided with channel and closed The ability of ring control uses 8051 series CPU, and closed loop adjusts frequency 300Hz, single-precision floating point operation, but it is merely able to It is suitble to the testing machine of static loading control.
Summary of the invention
For the defects in the prior art, the object of the present invention is to provide a kind of digital dynamic static controller of double-core and its Application method.
The digital dynamic static controller of a kind of double-core provided according to the present invention, comprising: first processor and second processing Device is connected between the first processor and the second processor by cache parallel communications;Wherein, at described first Reason device has multiple data acquisition channels, and multiple data acquisition channels are connect with testing machine sensor, described for acquiring The state parameter of testing machine;The first processor is also used to generate pid control signal, to realize the closed loop to the testing machine Control;The second processor and computer communicate to connect, and the data for acquiring the first processor are transferred to described Computer.
Optionally, the first processor is additionally provided with input/output end port, data storage port and status monitoring Port;Wherein, the input/output end port is for receiving external logic input signal (such as switching value), control output signal (such as relay), synchronous triggering signal;The data storage port connects sensor plug, pin-saving chip;The shape For state monitoring port for receiving control signal, the control signal includes: scram button signal, limit switch signal, servo system The signals such as system.
Optionally, the state parameter of the testing machine includes: strain, force value, displacement.
Optionally, the first processor and the second processor are all made of 32bit ARM CPU.
Optionally, for the first processor for switching any channel closed-loop control, it is 5KHz that closed-loop control, which adjusts frequency,; Wherein, closed-loop control, which is adjusted, uses double-precision floating points operation, and highest dynamically load frequency is 50Hz, and low speed load reaches 1 × 10-7mm/s。
Optionally, the second processor is additionally provided with input/output end port, data storage port and temperature and humidity and adopts Collect port;Wherein, the input/output end port is for receiving external logic input (such as switching value) signal, logic output (ratio Such as relay) signal;The data storage port connects FLASH memory, for storing equipment running status data;The temperature Humidity collection port connects Temperature Humidity Sensor, for obtaining environmental data.
Optionally, the second processor is communicated by network interface or serial communication mode is communicated to connect with the computer; When using network interface communication connection mode, the transmission rate of maximum data frame is 1KHz.
Optionally, the second processor is additionally provided with DAC output port, and the DAC output port is as expanded application Interface.
In addition, the present invention also provides a kind of application methods of the digital dynamic static controller of double-core, using any of the above-described The digital dynamic static controller of the double-core carries out the control to testing machine, to realize Measurement of Material Mechanical Performance;It is described Method includes:
The first processor and the second processor are powered on and initialized;
The running parameter of the first processor and the second processor is set;
Create task;
Each task carries out timeslice division according to priority level and data processing amount;
Task schedule is carried out according to priority and timeslice, and task is executed according to task schedule sequence.
Compared with prior art, the present invention have it is following the utility model has the advantages that
The digital dynamic static controller of double-core provided by the invention and its application method, are able to carry out multi channel signals and adopt Collection realizes dynamic and static loading control, meets the application demand of Material Testing Machine, and data-handling efficiency is high, and control flexibly, can Scalability is strong.
Detailed description of the invention
Upon reading the detailed description of non-limiting embodiments with reference to the following drawings, other feature of the invention, Objects and advantages will become more apparent upon:
Fig. 1 is the principle architecture diagram that one embodiment of the invention provides;
Fig. 2 is the work flow diagram of second processor in one embodiment of the invention;
Fig. 3 is the work flow diagram of first processor in one embodiment of the invention.
Specific embodiment
The present invention is described in detail combined with specific embodiments below.Following embodiment will be helpful to the technology of this field Personnel further understand the present invention, but the invention is not limited in any way.It should be pointed out that the ordinary skill of this field For personnel, without departing from the inventive concept of the premise, several changes and improvements can also be made.These belong to the present invention Protection scope.
When Material Testing Machine carries out mechanical property test to material, loading procedure progress closed-loop control, realization are displaced, The control of force value, strain etc. loads, and completes static or dynamic material mechanical performance test.But existing control system is only It can be suitably used for the testing machine of static loading.It is communicated using serial ports with computer, peak transfer rate 115.2Kbps.String Mouthful communication distance cannot be greater than 15m, 115.2Kbps is the maximum rate of serial ports of computers, and communication distance is also under this rate Reduce the accuracy to guarantee communication data.Due to being single precision numerical operation, it is unable to satisfy the test of extremely low rate tensile Method, for example realize and be displaced loading speed: 1 × 10-7mm/s。
The digital dynamic static controller of a kind of double-core provided in this embodiment, comprising: first processor and second processor, It is connected between first processor and second processor by cache parallel communications;Wherein, first processor has multiple numbers According to acquisition channel, multiple data acquisition channels are connect with testing machine sensor, for acquiring the state parameter of testing machine;At first Reason device is also used to generate pid control signal, to realize the closed-loop control to testing machine;Second processor and computer communication link It connects, the data for acquiring first processor are transferred to computer.
In a kind of possible embodiment, first processor is additionally provided with input/output end port, data storage port, And status monitoring port.Wherein, the state parameter of testing machine includes: strain, force value, displacement.
In a kind of possible embodiment, first processor and second processor are all made of 32bit ARM CPU.
In a kind of possible embodiment, any channel closed-loop control is can be switched in first processor, and closed-loop control is adjusted Frequency is 5KHz;Wherein, closed-loop control uses double-precision floating points operation, and highest dynamically load frequency is 50Hz, low speed load Reach 1 × 10-7mm/s。
In a kind of possible embodiment, second processor is additionally provided with input/output end port, data storage port, And humiture collection port.
In a kind of possible embodiment, second processor passes through network interface communication or serial communication mode and computer Communication connection;When using network interface communication connection mode, the transmission rate of maximum data frame is 1KHz.
In a kind of possible embodiment, second processor is additionally provided with DAC output port, DAC output port conduct Expanded application interface.
Specifically, the digital dynamic static controller of double-core uses 32bit high speed ARM core in one embodiment of the invention, closes It is 5KHz that ring, which controls to adjust frequency, and closed loop operation control uses double-precision floating points, and dynamically load frequency reaches 50Hz, low speed load Reach 1 × 10-7Mm/s, any channel can carry out closed-loop control and can be smooth seamless switching.
Fig. 1 is the principle architecture diagram that one embodiment of the invention provides, as shown in Figure 1, including control CPU (first processor) With communication cpu (second processor), two CPU cooperate, control CPU realize Signal acquiring and processing, high speed PID arithmetic, Output, status monitoring, data storage, the exchange of logic input/output operations, high-speed data etc. are driven, communication cpu is realized and calculated Machine communication, data storage, logic input/output operations, environmental data collecting, extension DAC output control, high-speed data exchange Deng.Optionally, two CPU can use 32bitARM, to realize the efficient process of data.
In addition, the present invention also provides a kind of application methods of the digital dynamic static controller of double-core, using any of the above-described The digital dynamic static controller of double-core carry out the control to testing machine to realize Measurement of Material Mechanical Performance;Method includes:
First processor and second processor are powered on and initialized;
The running parameter of first processor and second processor is set;
Create task;
Each task carries out timeslice division according to priority level and data processing amount;
Task schedule is carried out according to priority and timeslice, and task is executed according to task schedule sequence.
Fig. 2 is the work flow diagram of second processor in one embodiment of the invention, as shown in Fig. 2, second processor powers on After carry out system initialization, running parameter initialization and operating variable parameter initialization are carried out on piece chip, read later The running parameter of setting, creation task simultaneously carry out task run switching.Based on preemptive type Real-time Multi-task System, each task is pressed Priority level and data processing amount according to task carry out timeslice division, and task scheduling system is carried out according to priority and timeslice Task schedule establishes semaphore between task and can carry out data exchange.Mode, the transmission speed of data frame are communicated to connect in network interface Rate is up to 1KHz, to meet the volume of transmitted data of 50Hz dynamically load control.
Fig. 3 is the work flow diagram of first processor in one embodiment of the invention, as shown in figure 3, first processor powers on After carry out system initialization, running parameter initialization and operating variable parameter initialization are carried out on piece chip, read later The running parameter of setting, creation task simultaneously carry out task run switching.Based on preemptive type Real-time Multi-task System, each task is pressed Priority level and data processing amount according to task carry out timeslice division, and task scheduling system is carried out according to priority and timeslice Task schedule establishes semaphore between task and can carry out data exchange.PID arithmetic, waveform occur, express passway data acquire It is 5KHz Deng, task switching rate, to meet the high-speed computation processing requirement of dynamically load control.
In the present embodiment, using high speed 32bit ARM Dinuclear Systems, and by the division of processor active task, 5KHz is realized Closed-loop control.High-speed data exchanges between two CPU, realizes the real-time exchange processing of data.Each CPU, which is run on, to be robbed The Real-time Multi-task System of formula is accounted for, task carries out priority management, it is ensured that fast worktodo is handled in time.
Specific embodiments of the present invention are described above.It is to be appreciated that the invention is not limited to above-mentioned Particular implementation, those skilled in the art can make a variety of changes or modify within the scope of the claims, this not shadow Ring substantive content of the invention.In the absence of conflict, the feature in embodiments herein and embodiment can any phase Mutually combination.

Claims (9)

1. a kind of digital dynamic static controller of double-core characterized by comprising first processor and second processor, it is described It is connected between first processor and the second processor by cache parallel communications;Wherein, the first processor tool Standby multiple data acquisition channels, multiple data acquisition channels are connect with testing machine sensor, for acquiring the testing machine State parameter;The first processor is also used to generate pid control signal, to realize the closed-loop control to the testing machine; The second processor and computer communicate to connect, and the data for acquiring the first processor are transferred to the calculating Machine.
2. the digital dynamic static controller of double-core according to claim 1, which is characterized in that the first processor is also set It is equipped with input/output end port, data storage port and status monitoring port;Wherein, the input/output end port is for connecing Receive external logic input signal, control output signal, synchronous triggering signal;The data storage port connection sensor plug, Pin-saving chip;The status monitoring port for receive control signal, the control signal include: scram button signal, Limit switch signal, servo-system signal.
3. the digital dynamic static controller of double-core according to claim 1, which is characterized in that the state of the testing machine is joined Number includes: strain, force value, displacement.
4. the digital dynamic static controller of double-core according to claim 1, which is characterized in that the first processor and institute It states second processor and is all made of 32bit ARM CPU.
5. the digital dynamic static controller of double-core according to claim 1, which is characterized in that the first processor is used for Switch any channel closed-loop control, it is 5KHz that closed-loop control, which adjusts frequency,;Wherein, closed-loop control, which is adjusted, uses double-precision floating points Operation, highest dynamically load frequency are 50Hz, and low speed load reaches 1 × 10-7mm/s。
6. the digital dynamic static controller of double-core according to claim 1, which is characterized in that the second processor is also set It is equipped with input/output end port, data storage port and humiture collection port;Wherein, the input/output end port is used for Receive external logic input signal, logic output signal;The data storage port connects FLASH memory, sets for storing Standby running state data;The humiture collection port connects Temperature Humidity Sensor, for obtaining environmental data.
7. the digital dynamic static controller of double-core according to claim 1, which is characterized in that the second processor passes through Network interface communication or serial communication mode and the computer communicate to connect;When using network interface communication connection mode, maximum data The transmission rate of frame is 1KHz.
8. the digital dynamic static controller of double-core according to claim 1, which is characterized in that the second processor is also set It is equipped with DAC output port, the DAC output port is as expanded application interface.
9. a kind of application method of the digital dynamic static controller of double-core, which is characterized in that any in application such as claim 1-8 The digital dynamic static controller of double-core described in carries out the control to testing machine, to realize Measurement of Material Mechanical Performance;Institute The method of stating includes:
The first processor and the second processor are powered on and initialized;
The running parameter of the first processor and the second processor is set;
Create task;
Each task carries out timeslice division according to priority level and data processing amount;
Task schedule is carried out according to priority and timeslice, and task is executed according to task schedule sequence.
CN201910476521.7A 2019-06-03 2019-06-03 The digital dynamic static controller of double-core and its application method Pending CN110286617A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910476521.7A CN110286617A (en) 2019-06-03 2019-06-03 The digital dynamic static controller of double-core and its application method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910476521.7A CN110286617A (en) 2019-06-03 2019-06-03 The digital dynamic static controller of double-core and its application method

Publications (1)

Publication Number Publication Date
CN110286617A true CN110286617A (en) 2019-09-27

Family

ID=68003315

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910476521.7A Pending CN110286617A (en) 2019-06-03 2019-06-03 The digital dynamic static controller of double-core and its application method

Country Status (1)

Country Link
CN (1) CN110286617A (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1766767A (en) * 2005-08-13 2006-05-03 深圳市新三思材料检测有限公司 Tester measure and control device based on DSP and measure and control method thereof
CN201203769Y (en) * 2008-06-24 2009-03-04 上海康沃尔测控仪器有限公司 Visual closed-loop control PID parameter regulation system
CN103676893A (en) * 2013-12-19 2014-03-26 上海华龙测试仪器股份有限公司 Testing machine measurement and control system
CN204807990U (en) * 2015-07-02 2015-11-25 深圳万测试验设备有限公司 Material test machine controller
US9372137B1 (en) * 2013-08-20 2016-06-21 Google Inc. Tension member fatigue tester using transverse resonance
CN106547237A (en) * 2016-10-24 2017-03-29 华中光电技术研究所(中国船舶重工集团公司第七七研究所) A kind of navigation calculation device based on heterogeneous polynuclear framework
CN108303935A (en) * 2018-04-08 2018-07-20 北京强度环境研究所 A kind of vibrating controller based on multinuclear SoC processors
CN109558174A (en) * 2018-11-28 2019-04-02 江苏艾萨克机器人股份有限公司 RTOS-GPOS dual operating systems robot controller based on ZYNQ dual core processor
CN109728754A (en) * 2018-12-25 2019-05-07 中国科学院合肥物质科学研究院 A kind of embedded dual core electric machine control system and its working method

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1766767A (en) * 2005-08-13 2006-05-03 深圳市新三思材料检测有限公司 Tester measure and control device based on DSP and measure and control method thereof
CN201203769Y (en) * 2008-06-24 2009-03-04 上海康沃尔测控仪器有限公司 Visual closed-loop control PID parameter regulation system
US9372137B1 (en) * 2013-08-20 2016-06-21 Google Inc. Tension member fatigue tester using transverse resonance
CN103676893A (en) * 2013-12-19 2014-03-26 上海华龙测试仪器股份有限公司 Testing machine measurement and control system
CN204807990U (en) * 2015-07-02 2015-11-25 深圳万测试验设备有限公司 Material test machine controller
CN106547237A (en) * 2016-10-24 2017-03-29 华中光电技术研究所(中国船舶重工集团公司第七七研究所) A kind of navigation calculation device based on heterogeneous polynuclear framework
CN108303935A (en) * 2018-04-08 2018-07-20 北京强度环境研究所 A kind of vibrating controller based on multinuclear SoC processors
CN109558174A (en) * 2018-11-28 2019-04-02 江苏艾萨克机器人股份有限公司 RTOS-GPOS dual operating systems robot controller based on ZYNQ dual core processor
CN109728754A (en) * 2018-12-25 2019-05-07 中国科学院合肥物质科学研究院 A kind of embedded dual core electric machine control system and its working method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
刘福才等: "基于ARM微处理器的气动变载荷摩擦磨损试验机测控系统", 《计量学报》 *

Similar Documents

Publication Publication Date Title
CN101832752A (en) Low-power consumption vibration wire-type strain acquisition system adopting wireless sensor network technology
CN107367985A (en) A kind of Multichannel Real-time Data Acguisition System
CN105785099A (en) Multi-node electrical power quality real-time monitoring system based embedded wireless network
CN102722126A (en) Four-roll plate bending machine control system based on advanced RISC machine (ARM) and Wince
CN102621008B (en) Fully automatic strain control type direct shear test instrument and purpose thereof
CN102902829B (en) A kind of high speed magnanimity real-time data acquisition disposal system
CN201035741Y (en) Distributed data acquisition instrument
CN110286617A (en) The digital dynamic static controller of double-core and its application method
CN104317267A (en) ARM-based multichannel real-time data acquisition monitoring system
CN206697033U (en) A kind of electric energy meter multi-channel synchronous data acquisition system
CN201680888U (en) Wireless precision electronic scale
CN204422679U (en) The automatic checkout system of high voltage converter unit
CN113741311B (en) Bus control system and method with sub-period high-frequency processing function
CN100492231C (en) Six freedom real-time active vibration controlling system based on DSP control card
CN112731115B (en) PCBA board test structure, system and PCBA board test method
CN209261973U (en) Digital hydraulic servo control device
CN209765325U (en) Industrial Internet control acquisition system
CN202511927U (en) Load and opening-degree signal synchronously collecting instrument of winch gate hoist
CN102497392B (en) Networked multi-robot system
CN203275589U (en) Test system based on CAN bus
CN202472382U (en) A data communication device
CN201285313Y (en) Wireless impulse time-domain reflection level meter
CN201918734U (en) Split-phase dynamic reactive compensation controlling device based on DSP (Digital Signal Processor)
CN210924895U (en) 4-channel data concentrator for smart storage
CN220455736U (en) Automatic voltage regulation executing terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20190927

WD01 Invention patent application deemed withdrawn after publication