CN201331699Y - Data communication and monitoring device for cigarette making machine - Google Patents

Data communication and monitoring device for cigarette making machine Download PDF

Info

Publication number
CN201331699Y
CN201331699Y CNU2008202315928U CN200820231592U CN201331699Y CN 201331699 Y CN201331699 Y CN 201331699Y CN U2008202315928 U CNU2008202315928 U CN U2008202315928U CN 200820231592 U CN200820231592 U CN 200820231592U CN 201331699 Y CN201331699 Y CN 201331699Y
Authority
CN
China
Prior art keywords
cigarette
data
detecting unit
communication
props
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.)
Expired - Fee Related
Application number
CNU2008202315928U
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.)
Shenyang Institute of Automation of CAS
Original Assignee
Shenyang Institute of Automation of CAS
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 Shenyang Institute of Automation of CAS filed Critical Shenyang Institute of Automation of CAS
Priority to CNU2008202315928U priority Critical patent/CN201331699Y/en
Application granted granted Critical
Publication of CN201331699Y publication Critical patent/CN201331699Y/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Arrangements For Transmission Of Measured Signals (AREA)

Abstract

The utility model relates to a cigarette machine data communication, monitoring device, include: the cigarette detection unit is used for collecting real-time data of each quality detection signal of the cigarette making machine on line, analyzing the data and removing unqualified cigarettes; the monitor receives real-time data uploaded by the cigarette detection unit through a field bus, and counts, updates and stores the data; the method comprises the following steps: the monitor sends a read-write command to the cigarette detection unit; triggering reception interruption, and if the data received by the cigarette detection unit meets a communication protocol, performing read-write operation on the internal memory; sending response frame data to the monitor; if response frame data sent by the cigarette detection unit is received and meets the communication protocol, the communication is successful. The utility model discloses the signal is stable, and the interference killing feature is strong, has outstanding reliability, real-time and flexibility, has solved the frequent, data object of communication and the various problem of kind between each node of watch-dog and cigarette detecting element.

Description

A kind of cigarette making machine data communication, supervising device
Technical field
The utility model relates to communication and the monitoring technique in a kind of tobacco machine, specifically a kind of cigarette making machine data communication, supervising device that utilizes fieldbus to communicate.
Background technology
The detecting unit that uses in the production of cigarettes process is used for online detection cigarette and props up the quality of production, comprises density that cigarette props up, bear, gas leakage and detection such as hungry, and defective cigarette is propped up accurate rejecting.Original cigarette that uses props up online detection unit and mainly realizes by the polylith hardware circuit board, has following problems:
1. there is not the complete device that carries out data communication with watch-dog, testing result and the cigarette that can't directly monitor when front sensor prop up real time datas such as Information Statistics result, are unfavorable for that operating personnel make analysis and judgement directly and accurately to the current condition of production and machine run situation.
2. prop up the parameter adjustment that brand is changed and mechanical adjustment is brought for different cigarettes, often need the professional to revise setup parameter by the toggle switch on the printed circuit board (PCB) in the detecting unit is reset, can not on-line operation, cause a lot of inconvenience.
3. adopted the polylith printed circuit board (PCB), the interface relationship complexity, the failure rate height owing to there is not watch-dog on-line monitoring test function, in case go wrong, is difficult to find out reason on the polylith circuit board that disperses, bring very big difficulty for the debugging maintenance.
The utility model content
At the above-mentioned defective that exists in the prior art, the technical problems to be solved in the utility model provides the operation conditions of a kind of directly monitoring more to current unit, the serviceability of elevator system, and the cigarette making machine data communication of the stability of enhanced system and reliability, supervising device.
In order to solve the problems of the technologies described above, the technical solution adopted in the utility model is:
A kind of cigarette making machine data communication of the utility model, supervising device comprise: cigarette props up detecting unit, the real time data of each quality testing signal of online acquisition cigarette machine, and above-mentioned data are analyzed, reject defective cigarette and prop up; Watch-dog receives cigarette by fieldbus and props up the real time data that detecting unit is uploaded, and these data are added up, upgrade, preserved; Cigarette is set props up the required controlled variable of detecting unit, and under reach cigarette and prop up detecting unit.
Described cigarette props up detecting unit and comprises central processing unit, A/D modular converter, useless cigarette rejecting module and bus transceiver, wherein central processing unit passes through the various kinds of sensors signal of A/D modular converter reception from cigarette machine by its inner input-output unit, data to above-mentioned each sensor signal are carried out analyzing and processing, output signal to useless cigarette through input-output unit and reject the module controls actuating unit cigarette that will give up and reject; Central processing unit carries out communication by bus transceiver by fieldbus and watch-dog and is connected; Described bus transceiver is of coupled connections by the bus controller in photoisolator and the central processing unit.
The utlity model has following beneficial effect and advantage:
1. host computer in the utility model and slave computer carry out communication by the fieldbus mode, can be on the operation interface of host computer to the setup parameter online modification of detecting unit, and can understand needed detection data and statistics at any time from slave computer, the ipc monitor device adopts complete Chinese friendly interface, offer the user with graphics mode, make convenient detecting unit is controlled of operating personnel.
2. the utility model can prop up communications status, sensor signal and the input and output dotted state of detecting unit to each cigarette by the watch-dog real-time monitored, in case break down, can make judgement very soon on the monitoring picture, has shortened fault correction time greatly.
3. the field bus communication that uses in the method that the utility model adopts is the serial communication network of a kind of effective support dcs and real-time control, signal stabilization, antijamming capability is strong, have outstanding reliability, real-time and dirigibility, solved well that watch-dog and cigarette prop up that communication between each node of detecting unit is frequent, data object and miscellaneous problem.
4. the utility model replaces original mimic channel as the control core with digital signal processing, the performance of mimic channel is changed greatly by the component parameter performance impact, digital display circuit is subjected to environment temperature and noise effect little comparatively speaking, the reliability height, with other interfaces based on the system or equipment of modern digital technology all be compatible, the work of cooperatively interacting realizes that function of the present utility model is more much easier than simulation system.
5. the utility model has adopted the fieldbus data communication, spare interface is given management information system in enterprise, for the company information networking provides convenience, make enterprises can set up comprehensive data analysis and decision support, for vital role has been brought into play in the tobacco enterprise informatization.
6. the communication protocol of using in the method that the utility model adopts is on the basis of CAN agreement, utilize 29 identification codes expanding frame to form the coded system of oneself, the requirement of both having satisfied the common field bus agreement guarantees the versatility of communicating by letter, the application layer protocol that oneself is also arranged, there is stronger confidentiality in the system that makes.
Description of drawings
Fig. 1 is the utility model structural representation;
Fig. 2 props up the electrical principle block diagram of detecting unit for cigarette in the utility model;
Fig. 3 props up the connection diagram of detecting unit and bus for cigarette in the utility model;
Fig. 4 is communication protocol frame structure key diagram in the method for the utility model employing;
The method flow diagram that Fig. 5 adopts for the utility model.
Embodiment
Below in conjunction with accompanying drawing the utility model is described in further detail.
Fig. 1 is that (present embodiment adopts DSP to the utility model based on central processing unit, model is the TMS320F28x series of TI company) cigarette making machine data communication, the structural representation of supervising device, comprise that host computer is that watch-dog 1 (present embodiment adopt touch-screen industrial computer) and slave computer are that cigarette props up detecting unit (present embodiment comprises that the 1st cigarette that is used to detect density of tobacco rod props up detecting unit 2 and is used to detect cigarette and props up dilutability, bear, the 2nd cigarette of quality index such as scarce filter tip props up detecting unit 3), topological structure of the present utility model is bus structure, adopt one main many from mode, with watch-dog 1 is main website, internal configurations network communication card, it is slave station that cigarette props up detecting unit, promptly the 1st cigarette props up detecting unit 2 and is slave station 1, the 2nd cigarette props up detecting unit 3 and is slave station 2, all hang on the fieldbus together as communication node with main website, slave station 1 and slave station 2 are equal, by software the different network addresss are set in inside and distinguish.
As shown in Figure 2, the 1st, 2 cigarettes prop up detecting unit 2,3 are used for finishing different measuring abilities respectively, its structure is identical, (comprise central processing unit 8, A/D modular converter 9, useless cigarette is rejected module 10 and bus transceiver 12) wherein central processing unit 8 be the control core, the various kinds of sensors signal that its inner input-output unit 7 receives from cigarette machine by A/D modular converter 9, data to above-mentioned various kinds of sensors signal are carried out analyzing and processing, be saved in digital quantity value in the internal memory 4 of central processing unit 8 by data bus and address bus, judge by the data analysis in 5 pairs of storeies of processor cores 4 of central processing unit 8, cigarette quality such as dilutability and situation such as hungry are judged, in case pinpoint the problems, cigarette propped up mark, when propping up and arrive ad-hoc location in process of production, the cigarette that goes wrong when quality (rejects certain fixed position of drum process in rotation process as cigarette machine), output signal to useless cigarette through input-output unit 7 and reject module 10, reject module 10 by useless cigarette and send the rejecting signal, control actuating unit (as being located at the pneumatic valve that cigarette machine the is rejected the drum rear end) cigarette that will give up is rejected, and upgrades and deposit in the built-in reservoir 4 statistics; Central processing unit 8 carries out communication by bus transceiver 12 by fieldbus and watch-dog and is connected, and 4 statistics in the internal memory in time is uploaded to watch-dog 1.
For the level on the fieldbus and the controller output level of central processing unit 8 inside are complementary, adopt high-speed bus transceiver 12 to cooperate bus controller 6 work of central processing unit 8 inside, bus transceiver 12 and high speed optoelectronic isolating device 13,14 constitute the level conversion buffer circuit, as shown in Figure 3, the port A of bus controller 6 and B are isolated 13 through photoelectricity, 14 backs link to each other with the R end with the port D end of bus transceiver 12, fieldbus links to each other with the L end with the port H end of bus transceiver 12 again, finish electrical isolation and level conversion function, realize the high reliability serial communication.
As shown in Figure 5, the utility model cooperates execution host computer flow process and slave computer flow process to realize its control procedure by host computer (watch-dog) and slave computer (cigarette props up detecting unit), and is specific as follows:
Watch-dog props up detecting unit to cigarette and sends read write command, timer is set simultaneously begins to await a response;
Cigarette props up detecting unit after detecting the order that watch-dog sends, and the master routine that is propped up detecting unit by cigarette jumps to the reception interrupt routine;
Does cigarette prop up the data that detecting unit judges that the watch-dog receive is sent and satisfies communications protocol? if satisfy, resolution data then, when resolving to read command, the sense data from internal memory 4 according to the data start address that will read that receives and data length, and according to communications protocol to data packings and be saved in the transmission mailbox, response data is sent to watch-dog; When resolving to write order, cigarette props up detecting unit and at first the data in the internal memory 4 is carried out write operation according to the memory address that will write, data length and the data content that receive, and the data of having write are read from internal memory 4 and pack be saved in the transmission mailbox, send to watch-dog;
Cigarette props up the reception End of Interrupt of detecting unit, returns the master routine that cigarette props up detecting unit;
Does watch-dog judge whether to receive cigarette and props up the response frame data that detecting unit sends?
If receive, judge that then cigarette props up detecting unit and whether satisfies communications protocol to the response frame data that watch-dog sends, if satisfy, then resolution data order when data parsing is read command, is directly preserved the result and as monitoring display, show that this communicates by letter successfully, number of success adds 1; When resolving to write order, judge the data read back and whether will write data identical, as identical, show that then this communicates by letter successfully, number of success adds 1; If the data of reading back are then propped up detecting unit to cigarette again and are carried out write operation with to write data inconsistent, if in the present embodiment continuous three times unsuccessful, then think communication failure, display communication mistake on watch-dog, and the record frequency of failure, this sign off.
Do not satisfy communications protocol if cigarette props up detecting unit to the response frame data that watch-dog sends, the address that for example requires to read and write data exceeds setting range or order can not be discerned or the like, then watch-dog display communication failure, and the record frequency of failure; This sign off.
If watch-dog does not receive cigarette and props up the response frame data that detecting unit sends in setting-up time, then watch-dog display communication failure, and the record frequency of failure; This sign off.
If propping up the data of the watch-dog that detecting unit receives, cigarette do not satisfy communications protocol, the address that for example reads and writes data exceeds setting range or order can not be discerned or the like, then send erroneous frame information to watch-dog, the notice watch-dog sends information and receives, but the discontented football association of data view, cigarette props up the reception End of Interrupt of detecting unit.
As shown in Figure 4, described communication protocol is based on the CAN bus protocol, use information frame to transmit information, CAN itself has standard information frame and two kinds of information frames of expansion frame, and present embodiment has used the expansion frame, comprises 29 identification codes, 29 identification codes are formulated corresponding data definition, utilize it to form the communication protocol of oneself, be made up of five parts the message unit that identification code is formed, its meaning is as follows:
1. command character: form by 3, the recognition data frame type, judgement is read command, write order or erroneous frame;
2. data start address: 10 characters are formed, watch-dog and cigarette prop up the relative address table that detecting unit has been appointed the data place in advance, watch-dog sends to cigarette according to the data that will read or write with relative address and props up detecting unit, thereby guarantees the correspondence of both sides' data and address;
3. source address: 3 characters are formed, the sign sender address;
4. destination address: 3 characters are formed, sign take over party address;
5. data length: 10 characters are formed, and provide the number that will read or write data, according to data start address and these two parameters of data length, just can select the interior data of any plot location scope in the internal memory to read and write as object flexibly.
The formulation of communications protocol: at first 29 bit-identify sign indicating numbers are split according to communications protocol, obtain effective information (command character, data start address, source address, destination address and data length); Transmit leg and take over party's source address and destination address are carried out address filtering, and whether judgment data is the information that transmit leg sends to this node, is read command or write order if then analyze command character; Judge according to data start address and data length whether the data that will read and write surpass the read-write scope of internal memory 4.If above-mentioned condition all meets, then think and satisfy agreement, can carry out next step read-write operation.

Claims (3)

1. a cigarette making machine data communication, supervising device is characterized in that comprising:
Cigarette props up detecting unit, and input end links to each other with the real time data of gathering each quality testing signal of cigarette machine;
Watch-dog (1) receives cigarette by fieldbus and props up the real time data that detecting unit is uploaded; Cigarette is set props up the required controlled variable of detecting unit, and under reach cigarette and prop up detecting unit.
2. by the described cigarette making machine data communication of claim 1, supervising device, it is characterized in that: described cigarette props up detecting unit and comprises central processing unit (8), A/D modular converter (9), useless cigarette rejecting module (10) and bus transceiver (12), wherein central processing unit (8) passes through the various kinds of sensors signal of A/D modular converter (9) reception from cigarette machine by its inner input-output unit (7), data to above-mentioned each sensor signal are carried out analyzing and processing, output signal to useless cigarette through input-output unit (7) and reject module (10) the control actuating unit cigarette that will give up and reject; Central processing unit (8) carries out communication by fieldbus with watch-dog (1) by bus transceiver (12) and is connected.
3. by the described cigarette making machine data communication of claim 2, supervising device, it is characterized in that: described bus transceiver (12) is of coupled connections by the bus controller (6) in photoisolator and the central processing unit (8).
CNU2008202315928U 2008-12-12 2008-12-12 Data communication and monitoring device for cigarette making machine Expired - Fee Related CN201331699Y (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNU2008202315928U CN201331699Y (en) 2008-12-12 2008-12-12 Data communication and monitoring device for cigarette making machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNU2008202315928U CN201331699Y (en) 2008-12-12 2008-12-12 Data communication and monitoring device for cigarette making machine

Publications (1)

Publication Number Publication Date
CN201331699Y true CN201331699Y (en) 2009-10-21

Family

ID=41225082

Family Applications (1)

Application Number Title Priority Date Filing Date
CNU2008202315928U Expired - Fee Related CN201331699Y (en) 2008-12-12 2008-12-12 Data communication and monitoring device for cigarette making machine

Country Status (1)

Country Link
CN (1) CN201331699Y (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103378992A (en) * 2012-04-18 2013-10-30 珠海格力电器股份有限公司 Bus data test method for home bus system and apparatus
CN103976472A (en) * 2014-04-18 2014-08-13 深圳市联君科技有限公司 Cigarette making and tipping machine set control system having digital automatic-adjustment function
CN114800492A (en) * 2022-04-11 2022-07-29 深圳市大族机器人有限公司 Method, system, computer device and storage medium for controlling slave station terminal

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103378992A (en) * 2012-04-18 2013-10-30 珠海格力电器股份有限公司 Bus data test method for home bus system and apparatus
CN103378992B (en) * 2012-04-18 2016-12-14 珠海格力电器股份有限公司 The bus data method of testing of home bus system and device
CN103976472A (en) * 2014-04-18 2014-08-13 深圳市联君科技有限公司 Cigarette making and tipping machine set control system having digital automatic-adjustment function
CN103976472B (en) * 2014-04-18 2015-12-30 深圳市联君科技股份有限公司 A kind of cigarette making and tipping machine control system with digital automatic regulation function
CN114800492A (en) * 2022-04-11 2022-07-29 深圳市大族机器人有限公司 Method, system, computer device and storage medium for controlling slave station terminal

Similar Documents

Publication Publication Date Title
US20100121951A1 (en) Method and arrangement for diagnosing networks including field bus systems
CN108415857B (en) Universal processing method for serial port data
CN102830694A (en) Automatic fault inspection system and client monitoring terminal
CN104104488A (en) Wireless sensor network protocol conformance testing system and method
CN201331699Y (en) Data communication and monitoring device for cigarette making machine
CN101750988A (en) Cigarette making machine data communication and monitoring device and method for controlling same
CN113676526A (en) Industrial data access management system and method
CN105653410A (en) Device and method based on printing and outputting of debugging information of Phytium platform, and computer
CN110768871B (en) Test method and system for automatically counting data transmission correctness of DCS (distributed control system)
CN111526048B (en) Unified management language adaptation method for multi-model switch
CN101136756B (en) Electric self-checking method, system and BMC chip on network long-range control host machine
CN116137603B (en) Link fault detection method and device, storage medium and electronic device
CN100468247C (en) Monitor system collecting end device
CN116260710A (en) ProfiBus-DP network intermittent interruption positioning device and method
CN107230263B (en) WTB bus data frame recorder and recording method
CN203243346U (en) Command system network tester
CN103517307B (en) A kind of remote debugging system based on TD-SCDMA
CN105553859A (en) System and method for enabling SFP modules to be adaptive to interfaces
CN105550083A (en) MSS (maintenance support subsystem) automatic test method and system
CN108491221A (en) Update, fault detection system and the method for embedded system
CN111245686B (en) Command vehicle system node monomer detection and diagnosis equipment
CN103531002B (en) A kind of remote debugging method based on TD-SCDMA
CN112380096A (en) Serial port communication monitoring system method based on virtual serial port
CN218103159U (en) Online profinet bus online detection module
CN108628536A (en) A kind of STM32 and serial ports touch screen communication module of man-machine interface interaction

Legal Events

Date Code Title Description
C14 Grant of patent or utility model
GR01 Patent grant
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20091021

Termination date: 20121212