CN201741018U - Single-plate oscillograph capable of integrating distributing system through parallel bus - Google Patents
Single-plate oscillograph capable of integrating distributing system through parallel bus Download PDFInfo
- Publication number
- CN201741018U CN201741018U CN2010202087897U CN201020208789U CN201741018U CN 201741018 U CN201741018 U CN 201741018U CN 2010202087897 U CN2010202087897 U CN 2010202087897U CN 201020208789 U CN201020208789 U CN 201020208789U CN 201741018 U CN201741018 U CN 201741018U
- Authority
- CN
- China
- Prior art keywords
- circuit
- oscillograph
- clock
- bus
- line
- 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 - Lifetime
Links
Images
Classifications
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/02—Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]
Landscapes
- Time Recorders, Dirve Recorders, Access Control (AREA)
Abstract
A single-plate oscillograph capable of integrating a distributing system through a parallel bus belongs to the field of a dynamic recording device, which comprises a front circuit, a DSP, a ARM, an interface circuit, an ISP chip and a parallel bus. The front circuit comprises a signal recuperating circuit, an analog-to-digital conversion circuit, a photoelectric isolation circuit and a digital lock circuit, wherein the DSP is connected to ARM through a HPI bus interface; other circuits, such as decoding, reading and writing, communication, synchronous clock, resetting and timing control circuits, and the like, are arranged in the ISP chip; and the parallel bus is matched with a system mother board bus and comprises a clock bus, a synchronic control bus, a status bus, a timing bus and a resetting bus. Besides, the single-plate oscillograph is integrated with a RS485 serial port, a RS422 serial port, a SPI synchronic serial port having token control, and the like. The single-plate oscillograph not only can be separately used as small size oscillograph but also can be used as a sub-oscillograph inserted on the system mother board for integrating distributing oscillograph device. The distributing integrating oscillograph device has the advantages of high capacity, accessed bandwidth, high reliability, and the like, and is an innovation.
Description
Affiliated technical field
The utility model belongs to computer application field, relates to the high speed measurement-recording system of Computer Processing, especially based on the dynamic high capacity wave recording device of the parallel distributed of embedded system.
Background technology
Dynamically oscillograph is a kind of digitized high speed survey record instrument.This instrument can carry out continual high-speed synchronous tracking sampling to a plurality of fast-changing coherent signal that the outside is inserted and detect, with the generation of condition of instant error, sudden change or certain particular event of catching detected signal, on request all correlation signals are carried out the Real-time and Dynamic record then and analyze.Because this instrument can be followed the tracks of for a long time multiparameter system and detect and record, and catch and find the fault of detected system or unusual automatically, so, got widely in electric system especially and use in scientific research and each field of national economy.Present employed traditional oscillograph adopts principal and subordinate, centralized system architecture more.This system architecture is simple, realizes easily, but owing to be subjected to the restriction of system architecture, inevitable deficiency is arranged:
1, poor reliability.Because what adopt is a kind of concentrated but not structure of distributing, so risk is very concentrated, in case background computer breaks down, total system can't operate as normal.Therefore whether background computer work reliably just becomes the key that can traditional wave recording device reliably working.And no matter be to adopt traditional external hanging type industrial computer as background computer, or adopting embedded computer based on DSP or ARM as background computer in order to improve reliability, background computer is the bottleneck of system all the time.
2, overall performance is subjected to the restriction of system architecture and background computer performance.It at first is the restriction of power system capacity.Increase when measuring port number, when data traffic was increased to a certain degree, the communication between forward and backward machine was owing to the restriction of the bandwidth obstruction that becomes.Next is that the computing power of separate unit background computer is limited.When data volume is increased to certain degree, single computer can't be finished the task of real-time calculating and record ripple.The 3rd is that data remote is influenced by bandwidth.Because all recorder datas all are to send local work station or far-end server to by background computer, when data volume is too big, can be subjected to the influence of the network bandwidth equally.
The utility model content
The purpose of this utility model provides a kind of veneer wave recorder by the integrated distribution wave recording device of parallel bus.This veneer wave recorder is made up of the embedded board computing machine that adopts the high reliability large scale integrated circuit to build, and use WinCE embedded OS, telotism can independently be born the task of high-speed parallel synchronized sampling, data processing, computational analysis, starting record ripple, file storage, data remote and the integrated data management of multichannel analog amount and switching value signal.It both can be used as the less small-sized oscillograph of passage and had used separately, can be used as sub-oscillograph again, was connected integrated distribution wave recording device with motherboard by parallel bus.Because the distribution wave recording device has parallel, distributed structure, all sub-oscillographs are independent, concurrent working in the system, thereby have broken through the restriction of traditional principal and subordinate, centralized oscillograph capacity, bandwidth and overcome the fatal shortcoming that its risk is too concentrated.
This veneer wave recorder constitutes holonomic system and method based on the parallel bus distributed-type integrated recorder with " distributed integration oscillograph mother board and parallel bus structure " and " based on the method for synchronous of distributed-type integrated recorder parallel buses " content of the applicant.
The purpose of this utility model reaches like this: veneer wave recorder is provided with parallel bus, bus and reset bus etc. when comprising clock bus, train line bus and condition line, school; This parallel bus and motherboard parallel bus are suitable; When veneer wave recorder during as sub-oscillograph integrated distribution system, a plurality of sub-oscillographs are plugged on the motherboard by bus interface plug correspondence successively, its parallel bus and motherboard bus are linked to each other and be connected to bus control circuit corresponding among the motherboard ISP, thereby construction system becomes the integrated wave recording device of a cover distribution.And when veneer wave recorder is only used separately as a small-sized oscillograph, then do not need to be connected to motherboard, only need the interface board of on the bus plug of veneer wave recorder, pegging graft with jumper, by wire jumper the various control buss of veneer wave recorder are directly connected with corresponding condition line, can be guaranteed its operate as normal.
Veneer wave recorder is made up of several major parts such as front-end circuit, digital signal processor DSP and peripheral interface circuit, ARM microprocessor and peripheral interface circuit, programmable I SP chip and parallel buss.Described front-end circuit comprises analog signal conditioner, analog to digital conversion, photoelectricity isolation and data-latching circuit; Front-end circuit and DSP and decoding scheme and the read-write operation control circuit fired in ISP constitute the synchronized sampling circuit jointly; DSP to ARM, constitutes the data sync transmission channel between DSP and the ARM by its HPI bus interface; Fire liaison circuit between decoding scheme, read-write operation control circuit, DSP and the ARM, synchronous clock circuit, precision timing circuit, control circuit and other logic control circuit during the school synchronously in the ISP chip; Comprise local clock bus and synchronous clock automatic switch-over circuit in the described synchronous clock circuit; The clock signal that the local clock circuit produces is consistent with the clock signal that system board produces; Also be integrated with network interface circuit, CF card interface circuit, SPI synchronous serial net in addition on the veneer wave recorder, and can be by the RS485 serial ports and the RS422 principal and subordinate net serial ports of the integrated preferential Token Ring of motherboard.
Described train line has 7, condition line has 6, wherein, the calculation control line is with computing mode line, formation train line and quene state line, record ripple control line and record the ripple condition line, record value control line is corresponding one by one with the token status line with record state of value line, definite value control line and definite value condition line and Token Control line, and all the other control lines are house dog control lines.
Described clock bus is meant cover clock signal, i.e. a local clock that is obtained by generation of same 4M crystal oscillator source and the frequency dividing circuit in the ISP of oscillograph; In the motherboard ISP of integrated wave recording device that distributes, also adopt and produced cover clock, i.e. a system clock in the same way simultaneously; System clock and local clock are introduced at the same time the input end of automatic switch-over circuit among the veneer wave recorder ISP, after switching output, handle through pulsewidth shaping circuit and delay circuit again, finally be sent to the sample circuit of veneer wave recorder and the interruption input pin of digital signal processor DSP and microprocessor ARM.
Described local clock and system clock have 10KHz, 20mS, 100mS and 1S totally 4 tunnel clock signals respectively; Wherein, the 10KHz signal is as data latching and sample-synchronous signal, the 20mS pulse is as data transmission synchronizing signal and the calculating segment sync of DSP to ARM, the 100mS clock is as calculating synchronously and the synchronous reference signal of formation, and the 1S clock is synchronous and time synchronized reference signal as formation; Described system clock and local clock are introduced at the same time the input end of automatic switch-over circuit, 4 road signals that are meant system clock are received 2 A0, B0, C0, the D0 ends that select 1 multi-way switch V74158 respectively, 4 road signals of local clock are received same 2 respectively and are selected A1, the B1 of 1 multi-way switch, C1, D1 to hold, local 10KHz signal is also received the counting end of the counter V74162 of automatic switch-over circuit simultaneously, and system 10KHz signal is received the clear terminal of same counter.
The described data sync transmission circuit that is provided with between digital signal processor DSP and ARM, its annexation are to link to each other with the least-significant byte data line DA0-DA7 of ARM respectively after 8 data lines HD0-HD7 of the HPI interface of DSP cushion by chip 2U1; Fire in ISP and output door P46, P47 to the direction of chip 2U1 and enable to control; When ARM carried out read operation to the address ram that CS3 covered, 2U1 enabled, and data are got in the DMA buffer memory of ARM by the DSP register read; Three address wires of AD0, AD15, AD16 of ARM and write line WR and cushion simultaneously through 2U2, after P41, P42, P43, P44 cushion in ISP again, be connected to HBIL, HCNTL1, HCNTL0 and the HR/W pilot wire of DSP respectively, wherein AD0 is to point to upper byte or low byte by HBIL differentiation reading and writing data; AD15 and AD16 control HCNTL1 and HCNTL0 are that HPI registers among the DSP with what distinguish operation.
Described synchronized sampling circuit is to realize causing on the sub-oscillograph by connector at 10KHz sampled clock signal line integrated on the motherboard; Analog signals to be measured is joined the input end of veneer wave recorder analog measurement passage, and this signal adds to the input end of ADC again after conditioning, is read by DSP after converting digital quantity to by ADC; Measured switch amount signal directly joins the input end that the oscillograph switching value is measured passage, is latched by the digital phase-locking storage after photoelectricity is isolated, and is read by DSP equally then; DSP produces chip selection signal by address wire and the address decoding circuitry fired in ISP, in order to select to read the data of different passages; The read-write operation control signal is also produced by the associated control signal of DSP and the read-write operation circuit of firing in ISP; The analog signals modulate circuit adopts dividing potential drop, amplifier to amplify, and is linked into the positive input terminal and the negative input end of ADC converter (ADS8364) then, converts digital quantity to by ADC, is read by DSP again; It is one group that photoelectric isolating circuit adopts 4 way switch amounts, realizes every device by one four light for every group; The digital signal that light is exported every the secondary end of device is connected to the input end of 8 bit digital latchs, and under the triggering of clock signal, light is read by DSP every the output terminal that the signal of exporting is latched to latch.
During the synchronous school of described oscillograph and data absolute time precise marking function during by the school when bus, school pulse control circuit, calendar clock and precision timing circuit realize.This two signal line of pulse bus when bus and GPS school when bus comprises the system school that is integrated on the motherboard during school; The pulse control circuit is fired in the ISP of veneer wave recorder during the school, pulse signal during the branch school of pulse bus and calendar clock chip (M41ST95) output when its receives from the GPS school, and select wherein a kind of automatically as the time-division pulse of system school; The absolute time service of system is from GPS or calendar clock, also selects wherein a kind of benchmark during as the system school automatically by device; In the ISP chip that precision timing circuit is also fired in veneer wave recorder, form by high-speed counter, data latches and shift register; During the school and labeling process as follows: when the time-division pulse of system school arrives, each sub-oscillograph is calibrated to self calendar clock system reference time on the one hand, also read 20mS synchronizing signal that precision timing circuit latchs time delay counting simultaneously to the pulse of school time-division, and with the absolute time mark of this reference time and time delay counting, thereby when finishing mark and school as current sampling point.
Described reset bus and corresponding control circuit can realize that the electrification reset of veneer wave recorder, software watchdog reset, hardware watchdog resets, power fail resets and unit hand-reset etc.; Simultaneously, the reset bus of each veneer wave recorder is connected to by bus plug on the reset bus of motherboard, and the multimachine manual synchronization of the integrated wave recording device of can realizing distributing resets and supervisor or far-end reset function.
Good effect of the present utility model is: veneer wave recorder is integrated into the data acquisition of former traditional wave recording device front platform computer and preprocessing function and background computer data computation, record ripple on the same embedded board computing machine with the unification of data remote function, realizes that forward and backward machine unify.It can be used as veneer wave recorder on the one hand and uses separately, independently bears the task of high-speed parallel synchronized sampling, data processing, computational analysis, starting record ripple, file storage, data remote and the integrated data management of multichannel analog amount and switching value signal; Also can be used as simultaneously sub-oscillograph and use, be used for integrated distribution wave recording device; At this moment a plurality of sub-oscillographs are separate in the device, and concurrent working realizes profile samples, Distribution calculation, distribution record ripple, distributed store and distribution teletransmission.Simultaneously this a little oscillograph again can installing concentratedly by system board implement device modular, and realize system's accurate timing and strict synchronism by parallel bus integrated separately on sub-oscillograph and the motherboard, also can realize being installed on respectively precise synchronization between the sub-oscillograph on the different motherboards by the bus expansion.Than traditional, by the wave recording device that forward and backward mode realizes, the advantage of veneer wave recorder is apparent:
1, perfect in shape and function can be finished traditional wave recording device all functions, and more compact structure, and reliability is higher, and cost is lower.
2, can be by parallel bus and the integrated distribution wave recording device of system board; System not only distributed, but also integrated; Both had parallel distributed system high capacity, high bandwidth, low-risk advantage, had the advantage that the bus integrated system is simple in structure, be easy to realize strict synchronism again.
3, a plurality of sub-oscillographs were both interconnected by the network realization, and externally realize data remote by network is independent again, or realize man-machine interaction through supervisor by network, be reciprocity in mutual contact and contact with foreign countries co-relation; So both made things convenient for information sharing, guaranteed data bandwidth again, and realized high capacity, broad passband and low-risk for distributed-type integrated recorder further guarantee is provided.
4, the integrated wave recording device of distribution has adopted parallel sampling, segment transmissions, calculating synchronously and has distributed and recorded the data synchronization strategy of ripple.By being connected of oscillograph bus and system board bus, cooperate the use of segment sync algorithm and data absolute time precise marking method, realized the synchronous of sub-oscillograph computational data that each works alone; Algorithm is simple, accurate and have fault-tolerance preferably, is a kind of innovation.
5, all dispose the CF card on each sub-oscillograph, can finish the storage of distribution file system.The size of each son record ripple file is N/one of equal capacity tradition oscillograph record ripple file, and wherein N is a sub-oscillograph number integrated in the device.The distribution file access is more convenient, stores saferly, and mark is clearer and more definite, helps express-analysis and location to the system failure, effectively reduces calculated amount, transmission quantity and the memory space of system, and is convenient simultaneously from now on to the retrieval of failure logging file with search.
Description of drawings
Fig. 1 is the structured flowchart by N the integrated distribution wave recording device of veneer wave recorder.
Fig. 2 is the structured flowchart of traditional principal and subordinate, centralized wave recording device.
Fig. 3 is sub-oscillograph connects and composes the distribution wave recording device by bus and motherboard a synoptic diagram.
Fig. 4 is distribute integrated record device system board and sub-oscillograph connecting bus synoptic diagram.
Fig. 5 is a distributed-type integrated recorder system board bus logic control circuit schematic diagram.
Fig. 6 is the veneer wave recorder structural representation.
Fig. 7 is the veneer wave recorder basic circuit diagram.
Fig. 8 is distribute integrated wave recording device synchronous clock and automatic switch-over circuit schematic diagram.
Fig. 9 is veneer wave recorder synchronized sampling circuit theory diagrams.
Figure 10 is a data interface circuit schematic diagram between sub-oscillograph DSP and the ARM.
Figure 11 is various control lines and a condition line connection diagram in the veneer wave recorder.
Figure 12 is various control lines and a condition line connection diagram in the motherboard.
Figure 13 is the precision timing circuit schematic diagram that is used for time mark.
Figure 14 is circuit theory diagrams when distributing integrated wave recording device school.
Figure 15 is a veneer wave recorder CF card interface circuit schematic diagram.
Figure 16 is a veneer wave recorder network interface circuit schematic diagram.
Figure 17 is distribute integrated wave recording device reset bus and reset circuit schematic diagram.
Embodiment
Referring to accompanying drawing 1,2,3,6.
When veneer wave recorder is used separately as a small-sized oscillograph, the interface board of can on its bus plug, pegging graft with jumper, by wire jumper the various control buss of veneer wave recorder are directly connected with corresponding condition line, simultaneously required interface (as VGA, hard disk, keyboard, mouse and USB interface etc.) is drawn, can guarantee its operate as normal.And when veneer wave recorder during as sub-oscillograph integrated distribution system, can simultaneously maximum 8 sub-oscillographs be plugged on the motherboard, and be installed in the cabinet with motherboard and power supply, then cabinet is installed in the rack, and required interface caused card with handled easily, simultaneously outlet is caused terminal row, be used to connect on-site signal, so just constituted a complete distribution wave recording device.
Veneer wave recorder and just be with the different of traditional oscillograph maximum by the integrated distribution wave recording device of veneer wave recorder, the so-called master-slave system structure that present traditional oscillograph all adopts a plurality of foregrounds computing machine to add a background computer realizes, in veneer wave recorder and the difference that then do not have so-called forward and backward machine by veneer wave recorder in the integrated distribution wave recording device, promptly cancelled background computer.Behind the cancellation background computer, power system capacity and bandwidth are restricted by background computer no longer, also overcome the major defect of concentration of risk in background computer simultaneously, thereby the oscillograph overall performance is greatly enhanced.
Referring to Fig. 3, Fig. 4, Fig. 5, Fig. 6, Fig. 7.
Veneer wave recorder is by front-end circuit, digital signal processor DSP (TMS320VC5409) and peripheral interface circuit, ARM microprocessor (EP9315) and peripheral interface circuit, form in several major parts such as system programmable chip (LC4512) and parallel buss.DSP cooperates front-end circuit, mainly be responsible for finishing the hyperchannel real time data and obtain task, comprise high-speed synchronous parallel sampling to outside input analog amount and switching value signal, digital filtering, data are carried out the time-domain and frequency-domain pre-service and sent ARM etc. to the real-time sampling data and through filtering and pretreated related data.ARM then is responsible for finishing synchronous calculating, ripple record and file storage and teletransmission are judged, recorded to the record ripple.Parallel bus interface provides sub-oscillograph to be connected with the adaptive of motherboard bus, bus and reset bus etc. when it comprises clock bus, train line and condition line, school.Parallel bus is mainly used in each sub-oscillograph of assurance and can realizes strict synchronized sampling, synchronous transmission under the situation of distributed parallel, calculate and synchronous record ripple synchronously.Logic control circuit realizes to be integrated in system programmable (In SystemProgrammable, be called for short ISP) CPLD chip on a large scale, with the correct connection that guarantees sub-each funtion part of oscillograph and provide steering logic and sequential.During work, analog signals to be measured joins the input end of sub-oscillograph analog measurement passage after mutual inductor (not drawing among the figure) is isolated, and this signal adds to the input end of ADC again after conditioning, is read by DSP after converting digital quantity to by ADC.And measured switch amount signal directly joins the input end that sub-oscillograph switching value is measured passage, and this signal is latched by the digital phase-locking storage after photoelectricity is isolated, and is read by DSP then.DSP gives ARM with measurement data and computational data segment transmissions, is finished calculating, is judged and the record ripple by ARM at last.
See accompanying drawing 8 and with reference to figure 7 relevant portions.
System clock is the basis of distribution oscillograph operate as normal and parallel synchronous and guarantees.Be provided with two cover synchronous clocks in the utility model, wherein a cover is called system clock, and design is produced by motherboard ISP chip on motherboard, and it is shared to offer in the device all sub-oscillographs by clock bus; The another set of local clock that is called, design by the ISP chip generation of each sub-oscillograph, are only supplied with the book oscillograph and are used on sub-oscillograph.Two cover timing topologys are identical, and its output signal is also identical.The synergic system clock that all sub-oscillographs always are to use motherboard to produce in the system under the normal condition.Have only the group oscillograph to throw off motherboard and work independently, perhaps motherboard breaks down, and when the synergic system clock can't be provided, sub-oscillograph was just enabled local clock.Designing on the sub-oscillograph has a cover identification and commutation circuit automatically, is used for guaranteeing to work as the motherboard clock just often, and sub-oscillograph uses the system clock from motherboard, and when the system clock from motherboard disappeared, sub-oscillograph automatically switched to local clock.Fig. 8 is synchronous clock and identification and commutation circuit schematic diagram automatically.As seen from the figure, 4 clock cables such as 10KHz, 20mS, 100mS and 1S have been designed on the motherboard.The actual same 4M crystal oscillator source that comes from of the pulse signal of these four kinds of different frequencies, and by the acquisition of the frequency dividing circuit among the motherboard ISP.So these signals are homologies, synchronous.These signals cause on the motherboard socket after driving, and cause among the ISP of sub-oscillograph by sub-oscillograph bus plug then again.In the ISP of sub-oscillograph, also adopt the clock that has produced a cover oneself in the same way, i.e. local clock simultaneously.System clock and local clock are introduced at the same time the input end of automatic switch-over circuit.Wherein 4 road of system clock signals are received 2 A0, the B0 that select 1 multi-way switch V74158, C0, D0 end respectively.4 road signals of local clock are received same 2 respectively and are selected A1, the B1 of 1 multi-way switch, C1, D1 to hold.Local 10KHz signal is also received the counting end of counter V74162 simultaneously.System 10KHz signal is received the clear terminal of same counter.During work, if there is clock signal of system, then the 10KHz of system signal will be constantly to counter O reset.Counter carry end TC output 0.The S end of multi-way switch V74158 is 0.So No. 0 port, i.e. clock signal of system are connected in multi-way switch output at this moment.If clock signal of system disappears, the clear terminal of counter V74162 does not have quenching pulse.This hour counter receives local 10KHz pulse, constantly but not zero clearing of counting.Through the regular hour, counter carry end TC uprises and is latched at 1 level.The S end of multi-way switch uprises.So its output is switched to port No. 1, promptly exports the local clock signal.Whenever, when clock signal of system reappeared, the 10KHz signal of system clock can be immediately with counter O reset.So TC holds step-down.The S of multi-way switch holds also step-down.The output of multi-way switch will switch back to port No. 0, i.e. output system clock again.No matter be clock signal of system or local clock signal,, also will handle through pulsewidth shaping circuit and delay circuit after multi-way switch output.These pulse signals finally are sent to the sample circuit of sub-oscillograph and the interruption input pin of DSP and ARM.Wherein the 10KHz signal is mainly as data latching and sample-synchronous signal, the 20mS pulse is as data transmission synchronizing signal and the calculating segment sync of DSP to ARM, the 100mS clock is as calculating synchronously and the synchronous reference signal of formation, and the 1S clock is synchronous and time synchronized reference signal as formation.
See accompanying drawing 9 and with reference to figure 7 relevant portions.
Veneer wave recorder synchronized sampling circuit mainly is made of front-end circuit, digital signal processor DSP and decoding scheme and the read-write operation control circuit fired in the ISP chip.Wherein front-end circuit comprises signal condition, analog to digital conversion, photoelectricity isolation and data latching etc. again.System 10KHz clock signal is loaded on each sub-oscillograph as synchronous sampling signal.Local 1MHz pulse signal among the sub-oscillograph ISP is loaded into the clock end of this machine ADC as the change over clock signal.During work, electric system analog signals to be measured joins the input end of sub-oscillograph analog measurement passage after mutual inductor (not drawing among the figure) is isolated, and this signal adds to the input end of ADC again after conditioning, is read by DSP after converting digital quantity to by ADC.Electric system measured switch amount signal then directly joins the input end that sub-oscillograph switching value is measured passage, and this signal is latched by the digital phase-locking storage after photoelectricity is isolated, and is read by DSP equally then.
1. analog signal conditioner circuit: every veneer wave recorder can insert 18 road analog signalses, and for simplicity's sake, 2 road analog signals modulate circuit Ain01 and Ain02 have only drawn among Fig. 9.Ain01 is illustrated with circuit.Electric system analog signals to be measured through mutual inductor (not drawing among the figure) isolate, after the conversion, become ± AC signal of 5Vpp is loaded into the Ain01 input end.Through R0, R5, R4 dividing potential drop, the in-phase amplifier of forming through R1, R3, R6 and amplifier TC2 amplifies again, is linked into the positive input terminal of the A0 passage of ADC converter ADS8364 then through R7.Through R10, R11 dividing potential drop, the 1.67V DC reference voltage after amplifier TC1 buffering is linked into the negative input end of the A0 passage of ADC converter ADS8364 by R8 more simultaneously.The simulating signal that is linked on the positive and negative input end of ADS8364 chip A0 passage converts digital quantity to by ADC the most at last, is read by DSP then.R9 is a zero potentiometer among the figure, and the zeroing signal will be superimposed to the TC2 input end through R2.C1, C6 are filter capacitor.
2. analog to digital conversion circuit: the analog to digital converter that to dispose 3 models on every veneer wave recorder be ADS8364.Be integrated with 6 high conversion rates in every ADS8364 chip and be parallel 16 approximation converter by turn of 2uS.So total 3x6=18 road Parallel ADC on every veneer wave recorder.For simplicity's sake, only drawn among Fig. 9 A0 and the A1 two-way ADC input channel of 1 ADS8364 chip.Be connected to 28 pin of ADS8364 among the figure from the 1MHz clock signal of isp-11 pin, as the ADC change over clock.Be connected to 56,57,58 pin of ADS8364 from the 10KHz clock signal of isp-16 pin, as the starting switching signal of ADC.ADC address decode signal from isp-18,19,20 pin is connected respectively to 3 ADS8364,31 pin separately, as the chip selection signal of ADC chip.And 3 ADS8364,27 pin separately, promptly EOC signal EOC1, EOC2 and EOC3 then receive the input end of clock of d type flip flop P34, P36, P38 among the ISP respectively.The digital output end D0-D15 of ADC receives on the data bus of DSP by bus driver 6U5,6U6, so that DSP reads.During work, the 10KHz clock signal will trigger ADC starting conversion by HOLDA, HOLDB and HOLDC pin.EOC, when 3 ADC chips, 18 channel signals are all changed and finished altogether, EOC1, EOC2, EOC3 will export pulse respectively, make with door P35, P37, P39 output and put 1, thereby make and the negative saltus step pulse signal of door P40 output, and interrupt DSP, request DSP reading by INT0.
3. photoelectric isolating circuit: every veneer wave recorder can insert 32 way switch amount signals, for simplicity's sake, and the 2x4=8 way switch amount of only having drawn among Fig. 9 signal input circuit Din01-Din08.Wherein Din01-Din04 is first group, and Din05-Din08 is second group, realizes conversion of signals and isolation by four light every device G1 and G2 respectively.Its principle of work can the Din01 passage be that example is illustrated.Switching value signal (not drawing among the figure) from the scene is connected to the Din01 passage.When input signal is 0, when promptly switch disconnected, light no current between former end 1,2 pin of device G1 flow through, and then the pair end triode of its correspondence is in cut-off state, and 15 pin are output as 0.And when input signal is 1, promptly during switch connection, light flows through electric current between former end 1,2 pin of device G1, and flows to ground by the switch of connecting, so the pair end of its correspondence is energized triode conducting, 15 pin output change 1.
4. data-latching circuit: light will be connected to the input end of 8 bit digital latchs every the digital signal of the secondary end output of device.4 models of every veneer wave recorder configuration are the 8 bit digital latchs of 74LS374, so come to 4x8=32 road digital quantity.Wherein 1,2 (6U1 among the figure, 6U2) is one group, and 3,4 (not drawing among the figure) is one group, constitutes 2 16 bit digital latchs respectively.The output of 16 latchs is then received on the data bus of DSP by bus driver 6U5,6U6, so that DSP reads.11 pin of latch are the clock pin, receive the 10KHz clock signal from the ISP-34 pin.1 pin of latch is for enabling pin, and from 59 pin and 36 pin of ISP, i.e. the decoding of P18 is exported respectively, and its operation address is respectively 0x8001 and 0x8002.Latch is under the triggering of 10KHz clock signal during work, and light is latched into the output terminal of latch every output signal, read by DSP then.
5. ISP deciphers and DSP read-write operation circuit: DSP address wire A0-A6 and A15 insert among the ISP by driver 6U7.Reverse swing door P1-P5 in ISP or door P6-P14 can translate 3 sections, every section 8 addresses, are respectively 0x800E-0x8015,0x8016-0x801D and 0x801E-0x8025.This 3 sector address will be used during for the DSP reading of data respectively as sheet choosing (ADCS1, ADCS2, ADCS3) operation address of 3 ADC chips, every 6 ADC passages.Warp and door P15-P16 and code translator P18 can translate these 3 addresses of 0x8001,0x8002 and 0x8003 simultaneously.Enable signal when wherein 0x8001 and 0x8002 will be respectively read first group and second group of two 16 latch as DSP.0x8003 then can be used as the reset reseting pulse signal ADRST of ADC chip of DSP.In addition from XF, DS, MSTRB, R/W, IOSTRB and the IS signal of DSP, also will be by reverse swing door P21, P25, the P26 among the ISP, or the synthetic DSP read signal DSPRD of door P22, P23, P24, P27, P28 and either-or switch P29, be used to read the digital signal of ADC output digital signal and the output of digital phase-locking storage.
Referring to accompanying drawing 10.
Figure 10 is the schematic diagram of DSP and ARM data interface circuit.The HPI interface 8 data lines HD0-HD7 of DSP link to each other with the least-significant byte data line DA0-DA7 of ARM respectively after cushioning by chip 2U1 (74LVCH162245).The direction of 74LV245 chip and enable then to control by the output with door P46, P47 of firing in ISP respectively.When the address ram that chip select line CS3 is covered as ARM carried out read operation, 2U1 enabled, and data will be got in the DMA buffer memory of ARM by the DSP register read.Simultaneously three address wires of AD0, AD15, AD16 of ARM and write line WR through 2U2 (74LVCH162245) buffering after P41, P42, P43, the P44 buffering, are connected to HBIL, HCNTL1, HCNTL0 and the HR/W pilot wire of DSP respectively again in ISP.Wherein AD0 is to point to upper byte or low byte by HBIL differentiation reading and writing data; AD15 and AD16 control HCNTL1 and HCNTL0 are that HPI registers (address register HPIA, data register HPID and control register HPIC) among the DSP to distinguish what operate.
During work, be provided with two RAM buffer areas of A, B among the DSP.If DSP will measure with computational data and be saved in the A district during beginning.When the pulse of 20mS synchronous transmission arrives, will interrupt DSP.DSP switches to the B district with metadata cache on the one hand.After this new sampling and computational data will be saved in B district rather than A district.DSP goes out look-at-me by the HINT human hair combing waste on the other hand.This signal will interrupt the EGPIO10 pin of ARM by P51, P49, starting DMA reading.When ARM passes through the DMA reading, to constantly extract the data among the A district RAM by the HPID register of DSP, and be saved in the annular buffer of ARM internal memory appointment, in the previous 20mS that in having read DSP storer A district, preserves till the whole image data and computational data.And when next 20mS synchronous transmission pulse arrived, DSP can switch to the A district by the B district with metadata cache again.New afterwards sampling and computational data will be saved in the A district.On the other hand, ARM will be by the HPID register of dma operation DSP, to extract the data among the B district RAM.Repeat in this way.
HDS1 that will be by DSP in the dma operation process and the WAIT line of HRDY line and ARM are realized adaptive automatically on contact and the sequential.
Referring to Fig. 7, Figure 11, Figure 12.
In distributed-type integrated recorder, in order to guarantee that each is independent, the sub-oscillograph data synchronization of concurrent working, on sub-oscillograph and system board, designed a cover synchro control bus and corresponding condition line respectively, be respectively: calculation control line and condition line, formation train line and condition line, record ripple control line and condition line, record value control line and condition line, definite value control line and condition line, Token Control line and condition line and a house dog control line.In order to realize correct steering logic, in the ISP of motherboard chip, designed the corresponding synchronous control logic circuit.Each sub-oscillograph is plugged on the motherboard by bus plug, thereby control bus and condition line corresponding on the synchro control bus of sub-oscillograph and status bus and the motherboard always are communicated with.During work, the ARM of each sub-oscillograph realizes synchronously under the cooperation of synchronous bus according to the works of control algolithm regulation.Wherein calculation control line and computing mode line are used for realizing the segment sync that sub-oscillograph calculates.Record ripple, record value and definite value control line and condition line are used for realizing the precise synchronization of each sub-oscillograph record ripple.Formation train line and condition line be used for the control data formation synchronously.Token Control line and condition line then are used for RS485 integrated on the motherboard the connect Token Control and the reception of communication network.
Fig. 7, Figure 11 have provided the principle wiring of ARM port and control bus, condition line and clock bus etc. in the sub-oscillograph.Figure 12 has then provided bus connection and logical controlling circuit diagram on the system board.
As seen from Figure 12, the calculation control line is connected on the motherboard by connector, and the mode by logical "or" connects then.Calculate synchronization control circuit by or door 9U1 and d type flip flop 9U7 constitute, wherein or the input of door be connected to calculation control line after each sub-oscillograph passes through automatic switch-over circuit respectively, its output is connected to the D end of d type flip flop 9U7, and the output of d type flip flop Q end then is connected to the computing mode line of each sub-oscillograph slot respectively.During work, each sub-oscillograph determines whether to begin to calculate according to state and self working condition of computing mode line.Straw cord for bundling up rice or wheat stalks oscillograph is in the calculating, then the calculation control line is drawn high, otherwise the output of calculation control line is low.Simultaneously, sub-oscillograph needed the state of detection computations condition line before entering calculating.If the computing mode line is 0, then expression does not have other sub-oscillograph to be in the calculating, and the book oscillograph can be initiated new one and be taken turns calculating.And if the computing mode line is 1, then represent still to have in the present system sub-oscillograph to be in the calculating, can not initiate new one and take turns calculating, need to wait for.Since the calculation control line of all sub-oscillographs be by " or " mode connect, so as long as there is a son record ripple to initiate to calculate, its calculation control line is drawn high, then or door be output as height.And at first 20mS pulse front edge of closelying follow thereafter, the output Q of d type flip flop 9U7 end will uprise, and promptly the computing mode line uprises.In computation process, calculate control line and keep height always.As long as also have sub-oscillograph not finish calculating, or door output just is high.Even the sub-oscillograph that at this moment has has been finished calculating, but detect the computing mode line, can not initiate new one and take turns calculating, and must wait for still for high.Have only when all sub-oscillographs and all finished epicycle calculating, after wherein last sub-oscillograph of finishing drags down its calculation control line, or door is exported just step-down.At first 20mS pulse front edge of closelying follow thereafter, the output Q of d type flip flop end is with step-down, and the computing mode line is step-down.As seen, calculate the segment sync of each sub-oscillograph on data computation macroscopic view process that logic control circuit has guaranteed to have various computing speed synchronously.
Record value control line and condition line, record ripple control line is corresponding one by one with condition line with condition line and definite value control line.The record value of a plurality of sub-oscillographs, record ripple and definite value control line are connected on the motherboard by connector separately, divide into groups then to connect by the mode of logical "or".Record value, record ripple and definite value control circuit respectively by or and d type flip flop form, wherein record duty control circuit by or door 9U2 and d type flip flop 9U8 form, record ripple control circuit by or door 9U3 and d type flip flop 9U9 forms, the definite value control circuit by or a 9U4 and d type flip flop 9U10 form.From record value control line, record ripple control line and definite value control line behind each sub-oscillograph slot process automatic switch-over circuit, the output of d type flip flop 9U8,9U9 and 9U10 then is connected to record state of value line, record ripple condition line and the definite value condition line of each sub-oscillograph slot respectively respectively in the input of 9U2,9U3 and 9U4.During work, the sub-oscillograph of all concurrent workings calculates, analyzes sampled data separately by the mode of segment sync in the system.As note abnormalities, need the record ripple, then draw high the record ripple control line of self.And be checked through record ripple condition line in the forward position of 20mS synchronizing pulse for high as ARM, the just ripple of starting record immediately, and on request the data of related data section are deposited in the CF card of self.Because each sub-oscillograph all is in the forward position of 20mS synchronous clock record ripple condition line to be sampled in the system, so initiate the record ripple as long as a sub-oscillograph is arranged in the system, record ripple condition line uprises, then all sub-oscillographs all can start the record ripple at the synchronization in next 20mS synchronous clock forward position, thereby have guaranteed that the synchronous of ripple recorded in each sub-oscillograph distribution independent, concurrent working in the system.In addition, by being used of record ripple, record value and definite value control line, can the different record ripple requirement of recognition system.
The formation synchronization control circuit is reached with a door 9U6 by 8 the 2 preferential automatic switchover links that select 1 multi-way switch 0U11-7U11 to be constituted corresponding with sub-oscillograph to be formed, wherein the A input end of each multi-way switch all is connected to sub-oscillograph through the formation train line behind the automatic switch-over circuit, and the B input end then is connected to the output terminal Z of next pairing multi-way switch of sub-oscillograph; The output terminal Z of multi-way switch 0U11 directly be connected to and door 9U6, and the output of 9U6 is the formation synchronous regime line of system as the control output of preferential automatic switchover link.Each multi-way switch all is subjected to the control of self control end S in the link; When being plugged with sub-oscillograph and this sub-oscillograph on the motherboard slot when working properly, S switches to A with Z, otherwise S switches to B with Z.So when being plugged with 0 work song oscillograph and this oscillograph in the system when working properly, 0 work song oscillograph will be as the synchronous control benchmark of system queue; And when do not peg graft in the system 0 work song oscillograph or 0 work song oscillograph work are undesired, next groove number less sub-oscillograph will be taken over 0 work song oscillograph automatically, become the synchronous control benchmark of system queue.
When veneer wave recorder is only used separately as a small-sized oscillograph, rather than be used for integrated distribution wave recording device, then do not have problem synchronous between the sub-oscillograph, so at this moment control line and condition line should be inoperative, veneer wave recorder also can be thrown off motherboard work.And for guarantee veneer wave recorder throw off motherboard when working independently control line and condition line be not disconnected, the interface board of can on the bus plug of veneer wave recorder, pegging graft with jumper, by wire jumper the various control buss of veneer wave recorder are directly connected with corresponding condition line, can be guaranteed its operate as normal.She Ji benefit is to guarantee that no matter veneer wave recorder is to work independently or be used for integrated system like this, and whether the identical software of can working needs synchronously etc. and needn't distinguish.
Referring to accompanying drawing 7, Figure 13,14.
Except data sync, oscillograph also requires recorded data that the precise time mark will be arranged, and general requirement will be accurate to below the millisecond at least.Because only in this way, could pass through the playback of record ripple file, accurately correct time of fault location or anomalous event generation, and the variation of system failure process fore-and-aft survey data and the time relationship that these variations occur.Time mark is exactly to indicate the absolute time of each sampled point in the recorder data.The utility model is mark problem settling time, specialized designs the hardware precision timing circuit, thereby make the time mark precision reach 1uS.
As Fig. 7, shown in Figure 13, the hardware precision timing circuit is made up of high-speed counter (2X CBD18), data latches (2X FD18) and the shift register (2X SR8PISO) fired in veneer wave recorder ISP chip.Counter receives the pulse signal from the 1MHz (1uS) of the pre-frequency dividing circuit of this machine, and is cleared in the forward position of 20mS time clock and begins counting.When calendar clock whole second (or whole branch) arrives, bus output pulse during the system school.This pulse is added on STR (strobe) pin of data latches FD18 by the port that indicates the 1m printed words among the figure, thereby the current count value K of counter is latched in the data latches.Read by spi bus afterwards by shift register output, and by ARM.And bus is exported in (or whole branch) pulse in whole second when the system school, and the ARM of each sub-oscillograph and DSP will receive interruption.So ARM reads the absolute time C of calendar clock, this absolute time is the mark time (during the XX XX month XX day XX XX divide 0 second 0 millisecond).And DSP also will note this moment of next-door neighbour numbering N of first sampled point afterwards this moment, and then this sampled point is gauge point.So can calculate the absolute time of gauge point be: T=C+ (N*T0-K), wherein T0 is the sampling period, T0=100uS. is in above-mentioned time mark process in the native system, because 20mS clock signal and whole second (or whole branch) marking signal of calendar clock from system board have all been delivered to each sub-oscillograph simultaneously by bus, so each sub-oscillograph all will carry out mark to the sampled data of self in the forward position of marker.And in order to guarantee the unanimity as a result of each sub-oscillograph mark, need be at first with self calendar clock calibration when marker arrives.And the calendar clock that needs only each sub-oscillograph is calibrated, consistent, then the result of mark is consistent.Its phase mutual deviation should be no more than 1uS.
As shown in figure 14: for guaranteeing the time mark precision, except adopting high-precision labeling method, also must be accurate when the calendar clock of device is walked.Adopted model in veneer wave recorder is the high precision calendar clock chip of M41ST95 for this reason.This chip is through after the on-the-spot adjustment, and timekeeping performance can reach 175 milliseconds of 24 hours errors, exceeds a magnitude than general business computer.In order to guarantee to be distributed in the unanimity of the data time mark on each sub-oscillograph, when the distributed-type integrated recorder system must carry out strict online unified school.Circuit is divided into two parts during the system school.A part realizes required circuit by the ISP on the sub-oscillograph.Another part design comprises outside input pulse isolated variable circuit on the motherboard and the pulsewidth shaping circuit among the motherboard ISP on motherboard, and this two signal line of pulse bus when bus and GPS school when being integrated in system school on the motherboard.In addition, an also integrated RS232 receives bus on the motherboard.The RS232 serial ports of all sub-oscillographs all can be connected on the motherboard RS232 bus by interface in the device, receives the data from external unit, for example, and the time signal of GPS.During work, pulse causes among the motherboard ISP behind isolated variable during the outside school sent here by the GPS synchronous clock.When delivering to GPS school integrated on the motherboard again after the pulsewidth shaping circuit is handled in ISP then on the pulse bus.Deliver among the ISP of each sub-oscillograph by the 32B pin of bus plug at last.Pulse signal when system also provides other one tunnel school simultaneously, it interrupts output from the alarm clock of each sub-oscillograph self calendar clock, i.e. 26 pin of calendar clock chip M41ST95 among the figure, pulse signal when being called inner school.This signal also is sent to the ISP of sub-oscillograph.In the course of work, pulse when sub-oscillograph ARM interrupts whether inserting the GPS school in the pin real-time detection system by INT0.Pulse when if the GPS school is arranged, ARM exports 0 level by I/O mouth COL3, connects and door U33, turn-offs simultaneously and door U34.Pulse is by delivering to the input end A of bidirectional buffering door U36 with door U33 or door U35 during the GPS school.Pulse when if ARM does not detect the GPS school, or detect pulse when having the GPS school originally, but this pulse disappearance is for some reason again then exported 1 level by COL3, thus turn-off and a door U33, connect simultaneously and a door U34.So pulse is by delivering to the input end A of bidirectional buffering door U36 with door U34 or door U3 during inner school.Bidirectional buffering door U36 is subjected to the control of rejection gate U31 output.Under the normal operation, ARM is by ROW2 pin output watchdog pulse, so counter 0U37 is by the periodicity zero clearing, and its output CAO keeps low level.On the other hand, 0 work song oscillograph is exported 1 level by the ROW0 pin, so bidirectional buffering door U36 is opened in rejection gate 0U31 output 1.And other sub-oscillograph ROW0 pin is exported 0 level, and corresponding rejection gate 0U31 output 0 is so its bidirectional buffering door 0U36 separately is high-impedance state.At this moment no matter deliver to A end be the external GPS school time pulse, or pulse during inside day calendar clock school all will be delivered to by the output terminal Z of 0 work song oscillograph bidirectional buffering door U36 on the BIO pin of the EGPIO14 pin of ARM I/O mouth and DSP.The A end signal is simultaneously through the XB of 0 work song oscillograph bidirectional buffering door end, and the 23C pin of bus plug is when causing the system school of motherboard on the bus.And then through other sub-oscillograph 23C pin separately, the pulse signal is delivered to the XB end of each sub-oscillograph during high-ranking officers.And finally deliver on the BIO pin of the EGPIO14 pin of each sub-oscillograph ARM I/O mouth and DSP, when being used to start the school.Concrete steps during the system school are:
If system has access to the GPS time service, then 0 work song oscillograph will receive the GPS time service by the RS232 serial ports of self, and with the standard time of GPS absolute time as system.And if do not have the GPS time service, then 0 work song oscillograph will with self calendar clock time as the system standard time.No matter with which kind of time as standard, always in one minute the time interval, all sub-oscillographs repeat to send the Current Standard calendar time to 0 work song oscillograph to other by the RS485 net.When the branch school clock pulse was flushed to, pulse was interrupted during each sub-oscillograph response branch school, when promptly beginning the school.The number of minutes of the standard calendar time that will receive by the RS485 net added 1 before this, write back to then in the calendar clock chip of this machine, simultaneously with the second and the millisecond position 0 of self calendar clock, when finishing once the school.Produce carry and bring trouble in the calculating for avoiding the number of minutes to add 1 back, the number of minutes when the standard calendar time of receiving is 59 timesharing, skips the branch pulse, and is in the time of wouldn't the school, next more by the time when dividing pulse to recover the school again.If 0 work song oscillograph quits work for some reason, will there be watchdog pulse output on its ROW2 pin; The output of the pulse front edge differentiating circuit of being made up of 0U23-0U26 will be fixed as low.Through delay, counter 0U37 output pin CAO will be uprised by low, thereby turn-off 0 groove bidirectional buffering door 0U36.Pulse disappeared when this moment, next groove number less sub-oscillograph detected the school, will be by ROW0 pin output 1, connect the bidirectional gate 0U36 of himself, automatically substitute 0 work song oscillograph and become main website, pulse when exporting the school on the one hand, receive time service by RS232 simultaneously, and by the RS485 net to all other sub-oscillograph transmitting system standard calendar time, benchmark when the assurance system has unified school all the time.
Referring to accompanying drawing 15.
Distributing, each sub-oscillograph all disposes the CF card in the integrated wave recording device, can finish the storage of distribution file system.Because ARM chip EP9315 supports the pcmcia interface standard, so relatively simple with the peripheral circuit of CF card.24 of ARM address wire AD0-AD23 link to each other with CF card address wire BAD0-BAD23 by 2U2 (74VCH162245) buffering back among the figure.2U2 direction control pin 1 pin and 24 pin are directly drawn high, and enable control pin 25 pin and the direct ground connection of 48 pin, thereby guarantee that address wire is in on-state all the time, and direction is to the CF card from ARM.The 16 data lines DA0-DA15 of ARM link to each other with CF card address wire BDA0-BDA15 by 2U1 (74VCH162245) buffering back simultaneously.The direction pin of 2U1 (1 pin and 24 pin) and enable pin (25 pin and 48 pin) and control by the output with door P61 and P62 of firing in ISP respectively.When the ARM operation address be in sheet select address field that CS3 covers and operation be the CF card time (MCEL=1, MCEH=1), P62 export height, 2U1 enables.And when ARM carries out read operation to the CF card (RD=1, IORD=1, MCRD=1), it is high that P61 exports, and the direction of 2U1 is that CF snaps into ARM.Otherwise be write operation, data direction is that ARM is to the CF card.All the other lines connect to the CF card slot from ARM one to one fully according to codes and standards among the figure.
Referring to accompanying drawing 16.
All the sub-oscillographs in the integrated wave recording device of distributing have the structure of equity.This program that is meant structure, the function of all sub-oscillographs in the device and the ISP chip of being fired, EEPROM code, downloaded software and operation on the one hand is all identical, so that at any time they are all interchangeable.Be that all sub-oscillographs also are reciprocity when linking to each other with systematic manager and far-end server by network in the finger device on the other hand.Each sub-oscillograph does not preferentially reach the branch of primary and secondary by network upload file or data the time.Each sub-oscillograph can directly send file and the data of oneself to systematic manager and far-end server in the distributed-type integrated recorder.So just eliminate the system transmissions bottleneck effectively, guaranteed the capacity and the bandwidth of system.From veneer wave recorder network interface circuit schematic diagram shown in Figure 14, know,, only need provide the physical layer interface support herein because integrated ethernet mac layer interface among the ARM chip EP9315 is supported ICP/IP protocol.KS8721 is a kind of 10BaseT/100BaseTX/FX physical layer transceiver interface chip among the figure, supports MII.And meet IEEE 802.3u standard fully.Its sending and receiving and control pin are corresponding one by one with EP9315 network interface pin, get final product so directly connect.HR911105A is a kind of RJ45 network egress joint with transformer isolation, mainly isolates as the electrical equipment of network connection and network.
Referring to accompanying drawing 17.
Accompanying drawing 17 has provided the integrated wave recording device reset circuit schematic diagram that distributes.As seen from the figure, system reset circuit is divided into two parts.A part realizes required circuit by the ISP on the sub-oscillograph.Another part is realized required circuit by the ISP of motherboard.Device electrification reset, software watchdog reset, hardware watchdog resets, power fail resets, the unit hand-reset designs on veneer wave recorder, and multimachine synchronous reset and supervisor or far-end reset design on system board.
1. electrification reset: when system powers on, the reset signal output pin of calendar clock chip (19 pin) will be exported a lasting negative saltus step pulse signal.This signal is introduced ISP, draws after buffering in ISP, is respectively applied for the ARM that resets, DSP and FLASH chip then, and network, hard disk and jtag interface, thereby finishes electrification reset.
2. software watchdog resets: if the system power-on reset success, then the ARM of sub-oscillograph will enter normal operating conditions after finishing initialization.At this moment ARM by 9 pin (Watch Dog Input) the output watchdog pulse of ROW2 mouth to calendar clock chip, carries out initialization to calendar clock chip on the one hand simultaneously, and starting calendar clock chip house dog.After this as long as system works is normal, the watchdog pulse of ARM output so the clock chip house dog will be in unactivated state all the time, does not have output with continuous reset clock chip house dog.If but system breaks down, then the ARM watchdog pulse will disappear.Because at this moment the clock chip house dog is no longer periodically resetted,, will export reset signal by the reset signal pin (19 pin) of calendar clock chip, thereby the antithetical phrase oscillograph resets so through after certain delay, the clock chip house dog is activated.Because the clock chip house dog is after system works, come work by software operation, so also claim the system software house dog.
3. hardware watchdog resets: if system power-on reset is unsuccessful, then the ARM of sub-oscillograph can't enter normal operating conditions.Because at this moment ARM can not operate calendar clock chip, so also can't start software watchdog.In this case, the hardware watchdog among the sub-oscillograph ISP will play a role.Pulse front edge differentiating circuit that the hardware watchdog circuit is made of 0U23-0U26 and 0U13-0U16 constitute the count delay circuit and form.When system power-on reset, 0U14 will export positive pulse.And ARM operate as normal not as yet at this moment, ROW2 does not have watchdog pulse output, so the 0U26 of pulse front edge differentiating circuit is output as 0.So the positive pulse of 0U14 output by 0U15 with counter 0U13 zero clearing.0U13 will begin counting with 1 second frequency afterwards.If before reaching the preset count delay (for example 10 seconds), ARM has entered normal operating conditions, and then ARM is by the watchdog pulse of ROW2 mouth output, after through the pulse front edge differentiating circuit, to export by 0U15, and counter 0U13 will be carried out the periodicity zero clearing.So the CAO pin of counter 0U13 is output low level all the time.0U21 is output as height with door.If but counter 0U13 is when reaching the preset count delay, ARM does not enter normal operating conditions as yet, and then the output of the CAO pin of counter is uprised by low.With the negative saltus step pulse of door 0U21 output.So clock chip is through this signal triggering, by 19 pin output system reset pulses, the antithetical phrase oscillograph resets immediately.Because this watchdog reset function finished by hardware, depended software not resets so be called hardware watchdog fully.
4. power fail resets: native system is soft except that having, the hardware watchdog auto-reset function, also have the power fail auto-reset function.Promptly work as power supply and break down, when voltage dropped to setting threshold, clock chip can be by power fail output pin PFO output reset pulse.This pulse triggers clock chip and produces reset pulse output, thereby reset corresponding sub-oscillograph through the input of RETIN2 pin.
5. unit hand-reset: on the sub-oscillograph front panel this machine reset button is installed.Press this button and will produce a negative pulse.The output of the 0U21 in this machine ISP on the one hand of this negative pulse triggers clock chip and produces systematic reset signal, and this machine that resets is also delivered to motherboard through bus plug simultaneously, is used to control the automatic switch-over circuit of corresponding slot.
6. the multimachine manual synchronization resets: on the device case front panel system reset pad is installed also.Press this button and will produce a negative pulse.This negative pulse is admitted to motherboard ISP.Behind the pulse front edge differentiating circuit of forming through SU1, SU3 and by SU4-SU7, export through SU8, SU10 again.The pulse of SU10 output is sent on the motherboard reset bus, then through the triple gate 0U16-7U16 output that resets of each groove, is used to control the automatic switch-over circuit of each groove.This pulse also causes on the reset signal input pin of each sub-oscillograph by the bus plug of each groove simultaneously, and each sub-oscillograph is used to reset.
7. supervisor resets or far-end resets: if system configuration has supervisor, perhaps accept far-end control, also can give an order by man-machine interaction, allow supervisor or remote termination output pulse go the total system that resets.At this moment pulse is admitted to motherboard ISP, behind the pulse front edge differentiating circuit of forming through SU2, SU3 and by SU4-SU7, exports through SU9, SU10 again.Through the triple gate 0U16-7U16 output that resets of each groove, be used to control the automatic switch-over circuit of each groove at last, and each sub-oscillograph that resets.
RS485, RS422 and SPI serial net:
This veneer wave recorder is integrated with RS485 network serial ports, RS422 serial ports and the SPI synchronous serial net serial ports with priority token rings.RS485 serial ports with priority token rings is mainly used in when veneer wave recorder is used separately and receives and send synchronous time service.And when being used for integrated distributed-type integrated recorder, then realize the RS485 serial ports networking of a plurality of sub-oscillographs by motherboard as sub-oscillograph.At this moment the RS485 serial ports receives and sends the synchronous time service except being used for, and also will be used for command communication and internal information exchange between the sub-oscillograph.All sub-oscillographs all are connected with RS485 bus on the motherboard by interface plug and realize interconnectedly in the device, and the RS485 port of every estrade oscillograph is exactly a network node that is subjected to token ring control.Design has guaranteed whenever all sub-oscillographs all are in the reception enabled state simultaneously in this network, therefore can receive the information of broadcasting on the network simultaneously.But whenever can only there be an estrade oscillograph to be in the transmission enabled state in the system.Specifically be that estrade oscillograph is in and sends enabled state and controlled by the hardware token ring.The RS422 serial ports is mainly used in transmitting system Debugging message and error message.When using separately as veneer wave recorder, this serial ports is in enabled state all the time, can outwards send relevant information at any time.And when being used for integrated distribution wave recording device as sub-oscillograph, a plurality of sub-oscillographs are plugged on the motherboard, realize networking by motherboard, and realize being connected between each sub-oscillograph and the systematic manager.At this moment the RS422 net also has double action, and promptly when system was in test mode, sub-oscillograph sent Debugging message by the RS422 net to supervisor.And when system is in normal operating conditions, sub-oscillograph by the RS422 net to the error message of supervisor transmitting system.SPI synchronous serial net is divided into two parts.Promptly be integrated in Intranet and the outer net that is integrated on the motherboard on each sub-oscillograph.Intranet is used for realizing in the veneer wave recorder ARM and DSP, ARM and calendar clock and ARM communicate by letter with the bidirectional high speed between the precision timing circuit of firing in the ISP chip (20Mbps).Outer net can be used to realize that the bidirectional high speed between the sub-oscillograph of 0# oscillograph and other communicates by letter.
The course of work of sub-oscillograph is as follows:
After powering on initially, DSP and ARM enter the operate as normal program separately.At this moment ADC starting conversion under the 10KHz Synchronous Sampling Pulse triggers, data-switching will be interrupted DSP after finishing, and DSP will read each passage translation data successively.The switching value signal of each passage that is latched in 10KHz Synchronous Sampling Pulse forward position in addition that is read simultaneously.DSP will carry out Real-Time Filtering and calculating to the data that read afterwards.Simultaneously DSP will the 20mS clock bus synchronously down, send image data and the computational data of preceding 20mS to ARM by its HPI bus.ARM is on the one hand by the data of DMA automatic reception from DSP, and it is cached in the Crossed Circle data-carrier store of oneself, simultaneously ARM also will 20mS clock line and calculation control line common synchronously down, start calculating and analysis to the sampled data of n-hour before.Each length of analyzing data is 100mS, simultaneously and with reference to the data of (N+1), back (N-1) each 100mS before it.If the data no abnormality seen, analytical calculation finishes, and ARM will temporarily stop to calculate, and wait for new synchronous calculation command.And if find data exception in the analytical calculation, ARM will give an order by record ripple control bus immediately, each sub-oscillograph starting record ripple in the Request System.This order will next-door neighbour's the forward position of next 20mS pulse by system in all sub-oscillographs read, comprise the sub-oscillograph itself that sends the order of request record ripple.So each sub-oscillograph is recorded ripple with synchronous initiation, and the data recording of related data section was got off before the present analysis data segment reached separately, stored on the CF card separately.When new synchronous calculation command arrives, each sub-oscillograph once more synchronous initiation to the 100mS data computing of respectively making a fresh start and analysis (what this time analyze should be N-1 data constantly, and with reference to N and N-2 data constantly).If no abnormality seen, and this etching system is not among the record ripple process, and then ARM will suspend calculating once more, and wait for next new synchronous calculation command.And if no abnormality seen but this etching system are among the record ripple process, then each sub-oscillograph can get up the 100mS data storage of present analysis data segment.Note abnormalities as the analytical calculation to the current data section, then ARM will give an order, request record ripple.And if this etching system has been among the record ripple process, then record ripple continuity automatically, and new record ripple request is marked as the ground zero of record ripple constantly.In accordance with regulations, the record ripple will recover normally at system under test (SUT), and device promptly finishes through the regular hour after finding no new abnormal conditions more automatically.And whole oscillograph just constantly repeats work by process described above.
Claims (8)
- One kind can be by the veneer wave recorder of parallel bus integrated distribution system, it is characterized in that: veneer wave recorder is provided with parallel bus; This parallel bus is connected with the motherboard parallel bus by bus interface; A plurality of veneer wave recorder correspondence successively are plugged into the integrated record apparatus of formation distribution on the motherboard; Bus and reset bus when parallel bus comprises clock bus, train line and condition line, school; Described train line has 7, condition line has 6, wherein, the calculation control line is with computing mode line, formation train line and quene state line, record ripple control line and record the ripple condition line, record value control line is corresponding one by one with the token status line with record state of value line, definite value control line and definite value condition line and Token Control line, and all the other control lines are house dog control lines; Each bus is connected to bus control circuit corresponding on the motherboard;Be integrated with programmable I SP chip on the veneer wave recorder, fired synchronous clock circuit, decoding scheme and logic control circuit in the ISP chip; Veneer wave recorder is made up of several major parts of front-end circuit, digital signal processor DSP and peripheral interface circuit, ARM microprocessor and peripheral interface circuit, parallel bus and programmable I SP chip; Described front-end circuit comprises analog signal conditioner, analog to digital conversion, photoelectricity isolation and data-latching circuit; Decoding scheme among front-end circuit and DSP and the ISP and DSP read-write operation circuit constitute the synchronized sampling circuit jointly; Design has the data sync transmission circuit between digital signal processor DSP and ARM microprocessor; The clock signal that described synchronous clock circuit produces is consistent with the clock signal that the integrated wave recording device system board that distributes produces; Comprise clock bus and synchronous clock automatic switch-over circuit in the synchronous clock circuit;Also be provided with the CF card interface circuit on the veneer wave recorder, network interface circuit, and be integrated with SPI synchronous serial net; Veneer wave recorder also is integrated with RS485 looped network and the RS422 principal and subordinate net with priority token rings by motherboard simultaneously;Veneer wave recorder links to each other with local work station with far-end server by the network switch.
- 2. veneer wave recorder as claimed in claim 1, it is characterized in that: be not connected when veneer wave recorder is used separately with motherboard, interface board with jumper of grafting is directly connected the various control buss of veneer wave recorder with corresponding condition line by wire jumper on the bus plug of veneer wave recorder.
- 3. veneer wave recorder as claimed in claim 1 is characterized in that: described calculation control line is connected on the motherboard by connector; The calculation control line of a plurality of sub-oscillographs mode by logical "or" on motherboard connects; Calculate synchronization control circuit by or door (9U1) and d type flip flop (9U7) constitute, wherein or the input of door be connected to calculation control line after each sub-oscillograph passes through automatic switch-over circuit respectively, its output is connected to the D end of d type flip flop (9U7), and d type flip flop output then is connected to the computing mode line of each sub-oscillograph slot respectively;Described record value control line and condition line, 3 pairs of record ripple control line and condition line and definite value control line and condition lines control line and condition line one to one are connected on the motherboard by connector, divide into groups then to connect by the mode of logical "or"; The record value, the record involve the definite value control circuit by or the door and d type flip flop form, the record duty control circuit by or door (9U2) and d type flip flop (9U8) form, record ripple control circuit by or door (9U3) and d type flip flop (9U9) forms, the definite value control circuit by or (9U4) and d type flip flop (9U10) form; Or door (9U2), (9U3) and input (9U4) respectively from each sub-oscillograph through the record value control line behind automatic switch-over circuit, record ripple control line and definite value control line, d type flip flop (9U8), (9U9) and output (9U10) then be connected to respectively each sub-oscillograph slot record state of value line, record ripple condition line and definite value condition line;Described formation synchronization control circuit is by selecting the preferential automatic switchover link of 1 multi-way switch (0U11)-(7U11) constituted one to one for 82 with sub-oscillograph slot and forming with door (9U6); Wherein the A input end of each multi-way switch all is connected to sub-oscillograph through the formation train line behind the automatic switch-over circuit, and the B input end then is connected to the output terminal Z of next pairing multi-way switch of sub-oscillograph; The output terminal Z of multi-way switch (0U11) directly is connected to and door (9U6) as the control output of preferential automatic switchover link, is the formation synchronous regime line of system with the output of door (9U6); Each multi-way switch all is subjected to the control of self control end S in the link; When being plugged with sub-oscillograph and this sub-oscillograph on the motherboard slot when working properly, self control end S switches to input end A with output terminal Z, otherwise self control end S switches to input end B with output terminal Z.
- 4. veneer wave recorder as claimed in claim 1 is characterized in that: described clock bus is meant cover clock signal, the i.e. local clock by same 4M crystal oscillator source produces and frequency dividing circuit obtains in oscillograph ISP; In the motherboard ISP of integrated wave recording device that distributes, the identical clock of a cover is also arranged, i.e. system clock simultaneously; System clock and local clock are introduced at the same time the input end of automatic switch-over circuit on the veneer wave recorder, after automatic switch-over circuit output, handle through pulsewidth shaping circuit and delay circuit again, finally be sent to the sample circuit of veneer wave recorder and the interruption input pin of digital signal processor DSP and microprocessor ARM; The synchronous clock automatic switch-over circuit selects 1 multi-way switch sum counter to constitute by 2.
- 5. as veneer wave recorder as described in the claim 4, it is characterized in that: described local clock and system clock have 10KHz, 20mS, 100mS and 1S totally 4 tunnel clock signals respectively; Wherein, the 10KHz signal is data latching and sample-synchronous signal, the 20mS pulse is data transmission synchronizing signal and the calculating segment sync of digital signal processor DSP to microprocessor ARM, the 100mS clock is for calculating synchronously and the synchronous reference signal of formation, and the 1S clock is the synchronous and time synchronized reference signal of formation; Described system clock and local clock are introduced at the same time the input end of automatic switch-over circuit, 4 road signals that are meant system clock are received 2 (A0), (B0), (C0), (D0) ends that select 1 multi-way switch V74158 respectively, 4 road signals of local clock are received same 2 respectively and are selected (A1), (B1), (C1), (D1) of 1 multi-way switch to hold, local 10KHz signal is also received the counting end of the counter V74162 of automatic switch-over circuit simultaneously, and system 10KHz signal is received the clear terminal of same counter.
- 6. veneer wave recorder as claimed in claim 1, it is characterized in that: described have 8 data lines (HD0-HD7) to link to each other with the least-significant byte data line (DA0-DA7) of microprocessor ARM respectively by after chip (2U1) buffering at the HPI of digital signal processor DSP interface, fires in the ISP chip and output door (P46), (P47) to the direction of chip (2U1) and enable to control.
- 7. veneer wave recorder as claimed in claim 1, it is characterized in that: described synchronized sampling circuit is that the sample-synchronous signal wire in the clock signal integrated on motherboard is caused on the sub-oscillograph by connector, analog signals to be measured joins the input end of veneer wave recorder analog measurement passage, this signal adds to the input end of ADC again after conditioning, read by DSP after converting digital quantity to by ADC; Measured switch amount signal directly joins the input end that the oscillograph switching value is measured passage, is latched by the digital phase-locking storage after photoelectricity is isolated, and is read by DSP then; DSP produces chip selection signal by address wire and the address decoding circuitry fired in ISP, in order to select to read the data of different passages; The read-write operation control signal is also produced by the associated control signal of DSP and the read-write operation circuit of firing in ISP; The analog signals modulate circuit adopts dividing potential drop, amplifier to amplify, and is linked into the positive input terminal and the negative input end of ADC converter (ADS8364) then, converts digital quantity to by ADC, is read by DSP again; It is one group that photoelectric isolating circuit adopts 4 way switch amounts, realizes every device by one four light for every group; The digital signal that light is exported every the secondary end of device is connected to the input end of 8 bit digital latchs, and under the triggering of clock signal, light is read by DSP every the output terminal that the signal of exporting is latched to latch.
- 8. veneer wave recorder as claimed in claim 1 is characterized in that: this two signal line of pulse bus when bus and GPS school when bus comprises the system school that is integrated on the motherboard during school; In the ISP chip that the pulse control circuit is fired in veneer wave recorder during the school, pulse signal during the branch school of pulse bus and calendar clock chip (M41ST95) output when its receives from the GPS school; The absolute time service of system is from GPS or calendar clock; In the ISP chip that precision timing circuit is also fired in veneer wave recorder, form by high-speed counter, data latches and shift register.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2010202087897U CN201741018U (en) | 2010-05-28 | 2010-05-28 | Single-plate oscillograph capable of integrating distributing system through parallel bus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2010202087897U CN201741018U (en) | 2010-05-28 | 2010-05-28 | Single-plate oscillograph capable of integrating distributing system through parallel bus |
Publications (1)
Publication Number | Publication Date |
---|---|
CN201741018U true CN201741018U (en) | 2011-02-09 |
Family
ID=43556294
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2010202087897U Expired - Lifetime CN201741018U (en) | 2010-05-28 | 2010-05-28 | Single-plate oscillograph capable of integrating distributing system through parallel bus |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN201741018U (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101886938A (en) * | 2010-05-28 | 2010-11-17 | 四川大学 | Veneer wave recorder capable of passing through parallel bus integrated distribution system |
CN102636738A (en) * | 2011-02-14 | 2012-08-15 | 南亚科技股份有限公司 | Circuit for detecting and recording chip fails and the method thereof |
CN104809075A (en) * | 2015-04-20 | 2015-07-29 | 电子科技大学 | Solid recording device and method for accessing in real time and parallel processing |
CN111949574A (en) * | 2020-06-30 | 2020-11-17 | 厦门汉印电子技术有限公司 | Bus bit number judging method, device, equipment and readable storage medium |
-
2010
- 2010-05-28 CN CN2010202087897U patent/CN201741018U/en not_active Expired - Lifetime
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101886938A (en) * | 2010-05-28 | 2010-11-17 | 四川大学 | Veneer wave recorder capable of passing through parallel bus integrated distribution system |
CN102636738A (en) * | 2011-02-14 | 2012-08-15 | 南亚科技股份有限公司 | Circuit for detecting and recording chip fails and the method thereof |
CN102636738B (en) * | 2011-02-14 | 2014-08-13 | 南亚科技股份有限公司 | Circuit for detecting and recording chip fails and the method thereof |
CN104809075A (en) * | 2015-04-20 | 2015-07-29 | 电子科技大学 | Solid recording device and method for accessing in real time and parallel processing |
CN104809075B (en) * | 2015-04-20 | 2017-09-12 | 电子科技大学 | A kind of solid state record device and method for accessing real-time parallel processing |
CN111949574A (en) * | 2020-06-30 | 2020-11-17 | 厦门汉印电子技术有限公司 | Bus bit number judging method, device, equipment and readable storage medium |
CN111949574B (en) * | 2020-06-30 | 2023-10-20 | 厦门汉印电子技术有限公司 | Bus bit number judging method, device, equipment and readable storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101886938B (en) | Veneer wave recorder capable of passing through parallel bus integrated distribution system | |
CN102111261B (en) | TDMOW serial bus-based distributed oscillographs synchronization method | |
CN201741018U (en) | Single-plate oscillograph capable of integrating distributing system through parallel bus | |
CN103683218B (en) | Distributed Busbar Protection Device based on HSR looped networks | |
CN101882989B (en) | Synchronization method based on distributed-type integrated recorder parallel buses | |
CN102175940B (en) | Testing method of digital protection tester with fault data model base for protection testing | |
CN106385256A (en) | Multi-channel parallel acquisition system with storage function and synchronous recognition function | |
CN101566845A (en) | Multi-channel synchronous vibration data collecting system | |
FR2566555A1 (en) | INTERCONNECTABLE COMPUTER NETWORK FOR REAL-TIME WORK | |
CN103810074A (en) | System-on-chip and corresponding monitoring method | |
CN101163017A (en) | Embedded transformer station information integrated server | |
CN102999425A (en) | Housekeeping software simulation test system based on technology of virtual instrument | |
CN102710409A (en) | Time synchronizing device with safety isolation function | |
US9645870B2 (en) | System for debugging DMA system data transfer | |
CN107505883A (en) | A kind of highly reliable dual redundant integrated control module based on microcontroller | |
CN106501626A (en) | A kind of wide area kernel phase system based on synchronous phasor measurement | |
CN203455835U (en) | Bus triggering backplate applied to PXI (PCI extension for instrumentation) test platform | |
ATE118907T1 (en) | DEVICE FOR FUNCTIONAL MONITORING OF EXTERNAL SYNCHRONIZATION UNITS IN A MULTIPLE COMPUTER SYSTEM. | |
CN103092119B (en) | A kind of bus state supervision method based on FPGA | |
CN101097447A (en) | Control apparatus, control method and control program | |
CN103746304A (en) | Reconstruction method of intelligent transformer station | |
CN104267312B (en) | A kind of embedded traveling wave ranging device based on LVDS high-speed sampling | |
CN201741019U (en) | Distributed and integrated oscillograph mother board and parallel bus structure | |
CN101873002B (en) | Distributed integration oscillograph mother board and parallel bus structure | |
CN108399137A (en) | I2C switching method of the PON modules based on CPLD |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
AV01 | Patent right actively abandoned |
Granted publication date: 20110209 Effective date of abandoning: 20111116 |