CN105991160A - Signal processing device - Google Patents

Signal processing device Download PDF

Info

Publication number
CN105991160A
CN105991160A CN201510077147.5A CN201510077147A CN105991160A CN 105991160 A CN105991160 A CN 105991160A CN 201510077147 A CN201510077147 A CN 201510077147A CN 105991160 A CN105991160 A CN 105991160A
Authority
CN
China
Prior art keywords
output
signal
pulse
type flip
pin
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.)
Granted
Application number
CN201510077147.5A
Other languages
Chinese (zh)
Other versions
CN105991160B (en
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.)
Zhejiang Dahua Technology Co Ltd
Original Assignee
Zhejiang Dahua Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhejiang Dahua Technology Co Ltd filed Critical Zhejiang Dahua Technology Co Ltd
Priority to CN201510077147.5A priority Critical patent/CN105991160B/en
Publication of CN105991160A publication Critical patent/CN105991160A/en
Application granted granted Critical
Publication of CN105991160B publication Critical patent/CN105991160B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Telephonic Communication Services (AREA)
  • Dc Digital Transmission (AREA)

Abstract

The embodiment of the invention relates to the field of communication circuits, and particularly relates to a signal processing device for realizing normal communication in an RS-485 interface circuit reverse connection condition. In the embodiment of the invention, according to a jump condition of first signals outputted by a positive port or a negative port of the RS-485 interface circuit, a conversion module generates a first pulse sequence and outputs the first pulse sequence, each pulse in the first pulse sequence is corresponding to a signal jump edge in the first signals, all pulses in the first pulse sequence are all in-phase pulses, and thus, whether the RS-485 interface circuit is in positive connection or reverse connection, through converting the received first signals to the first pulse sequence and then according to the first pulse sequence, correct communication data information when the RS-485 interface circuit is in a positive connection state can be recovered, and thus, the purpose of normal communication in the RS-485 interface circuit reverse connection condition can be realized, and the communication reliability is further improved.

Description

A kind of signal processing apparatus
Technical field
The present embodiments relate to telecommunication circuit field, particularly relate to a kind of signal processing apparatus.
Background technology
RS-485 interface circuit is serial digital communications system known to one, and it is owing to speed is fast and to noise Robustness and be widely used in various field.For example, be widely used in can for RS-485 communication system Control equipment in programmed logic controller (Programmable Logic Controller is called for short PLC) system Between data transmission.The pin of RS-485 interface circuit has dividing of AB polarity, is connect by difference during communication The differential signal of mouth output realizes that data are transmitted, thus the communication terminal of RS-485 interface circuit and cable must Must connect by identical polarity, i.e. press A-A, B-B and connect.But it is very easy to appearance in networking construction A, B end reversal connection and the unsuccessful problem of communication that causes, have a strong impact on the efficiency of construction at scene.
Communication data when agreement specifies that RS-485 interface circuit just connects has following characteristics: do not exporting communication Exporting high level during data, during communication data transfer, start bit and stop bits are all high level, and single The longest bit wide of communication data transfer process only has 12, though therefore always defeated during communication data transfer Go out low level, at most also only keep the low level of 12.Therefore, when RS-485 interface circuit just connects, It is continuously in high level within a time period more than 12 bit data transmission times, if working as RS-485 interface It during circuit reversal connection, then within a time period more than 12 bit data transmission times, is continuously in low level. Based on this feature, the data that prior art is transmitted by judging RS-485 interface circuit interface are in for a long time High level or low level determine that current RS-485 interface circuit is just to connect or reversal connection.
But technique scheme can only solve point-to-point RS-485 interface circuit connect, work as RS-485 Interface circuit is that point-to-points bus type connects, and i.e. one RS-485 interface circuit is simultaneously connected with multiple load When, and ought load in a large number, only during certain sub-fraction reversal connection, the high level owing to just connecing load in a large number drive Dynamic, thus when the fraction of reversal connection can be caused to be supported on communication, level can not be totally turned over, thus have influence on RS-485 interface circuit is to high level and low level is appropriately determined.
Give one example, it is assumed that a RS-485 interface circuit interface is simultaneously connected with 20 loads, wherein 19 Individual just connect, 1 reversal connection.When the high level of this RS-485 interface circuit transmission 5V, the load just connecing should Output 5V high level, and this level signal should be inverted by the load of reversal connection completely, thus export the low of-5V Level.And due to 19 just connecing load can give tacit consent to RS-485 interface circuit bus force draw high so that The load of now reversal connection cannot be totally turned over signal, and its effect is exactly the high electricity of load output 5V that ought just connecing At ordinary times, the load of reversal connection is only capable of exporting the low level of 2V.Now, by the judgement principle of prior art, Could Logic judgment be 0 when receiving the low level of below 0V, otherwise equal Logic judgment be 1.Visible, this When, prior art cannot correctly be distinguished the load just connecing with reversal connection, thus cannot be carried out subsequent treatment.
In sum, a kind of signal processing apparatus is needed badly, in order in the case of RS-485 interface circuit reversal connection Realize proper communication.
Content of the invention
The embodiment of the present invention provides a kind of signal processing apparatus, in order in RS-485 interface circuit reversal connection situation Under realize proper communication.
The embodiment of the present invention provides a kind of signal processing apparatus, comprising: modular converter and recovery module, conversion The input of module connects positive port or the negative terminal mouth of RS-485 interface circuit, and the output of modular converter is even Connecing the input recovering module, the output recovering module connects processor;
The first signal that modular converter exports for the positive port according to RS-485 interface circuit or negative terminal mouth Saltus step situation generates the first pulse train and exports, and all pulses in the first pulse train are homophase arteries and veins Punching, one of sequentially corresponding first signal of each pulse in the first pulse train signal transition edges;
Recover module for generating secondary signal according to the first pulse train and exporting, each in secondary signal The pulse of one of sequentially corresponding first pulse train of signal transition edges.
It is also preferred that the left modular converter specifically includes: be connected with positive port or the negative terminal mouth of RS-485 interface circuit Every straight unit, the rectification unit being connected with every straight unit, the isolated location being connected with rectification unit, isolation The output of unit connects recovery module;
And export, the second arteries and veins for saltus step situation generation the second pulse train according to the first signal every straight unit Rush one of sequentially corresponding first signal of each pulse in sequence signal transition edges, the second pulse train In the transition edges of each pulse and corresponding signal in the first signal transition edges in the same direction;
Rectification unit is for negating or the negative-going pulse in the second pulse train by the second pulse train Direct impulse negates, and obtains three-pulse sequence, and all pulses in three-pulse sequence are in-phase pulse;
Isolated location is for obtaining the first pulse train according to three-pulse sequence and exporting.
It is also preferred that the left specifically include the first electric capacity and the first resistance every straight unit;
One end of first electric capacity connects positive port or the negative terminal mouth of RS-485 interface circuit, and the other end connects the One resistance;One end of first resistance connects the first electric capacity, and the other end is grounded;
A tie point between first resistance and the first electric capacity is the first output every straight unit, the first electricity The earth terminal of resistance is the second output every straight unit.
It is also preferred that the left rectification unit is rectifier bridge;
The first input end of rectifier bridge and the second input connect the first output and every straight unit respectively Two outputs, the 3rd output of rectifier bridge and the 4th output connect the 3rd input of isolated location respectively With the 4th input.
It is also preferred that the left isolated location is photoelectric coupling circuit or gate-controlled switch circuit.
It is also preferred that the left recover module to include d type flip flop;
The CP pin of d type flip flop connects the output of modular converter, the QN pin junction of d type flip flop Reason device, the D pin of d type flip flop is connected with QN pin;
The rising edge of signal of CP pin input or trailing edge, the output letter of QN pin at d type flip flop Number occur saltus step.
It is also preferred that the left recover module also include reset unit, the input of reset unit connects the defeated of modular converter Going out end, the output of reset unit connects the reseting pin of d type flip flop;
Reset unit is used for:
When the output output high level of modular converter, to the reseting pin output high level of d type flip flop, So that d type flip flop work;
When the output output low level of modular converter and the time span of holding are not more than the first duration, to The reseting pin output high level of d type flip flop, so that d type flip flop work;Wherein, the first duration more than or Equal to the time span needed for R485 transmission 12 bit data;
When the output output low level of modular converter and the time span of holding are more than the first duration, to D The reseting pin output low level of trigger, so that d type flip flop resets.
It is also preferred that the left reset unit specifically includes diode, the second electric capacity, the second resistance;
The first end that second electric capacity and the second resistor coupled in parallel, the second electric capacity and the second resistance are connected triggers with D The reseting pin of device connects, and connects the negative pole of diode, and the positive pole of diode connects the output of modular converter End;
The second end ground connection that second electric capacity and the second resistance are connected, at the output of earth terminal and modular converter Between be connected with the 3rd resistance;
When the output output high level of modular converter, diode current flow, the second electric capacity charging, touch to D Send out the reseting pin output high level of device;When the output output low level of modular converter, diode turns off, Second electric capacity is discharged over the ground by the second resistance, to the reseting pin output high level of d type flip flop;
The resistance of the second resistance ensures that the second electric capacity is charged to the retention time after high level when being first Long.
It is also preferred that the left also include processor, processor is used at the secondary signal according to recovery module output Reason.
In the embodiment of the present invention, signal processing apparatus includes modular converter and recovers module, modular converter defeated Entering end and connecting positive port or the negative terminal mouth of RS-485 interface circuit, the output of modular converter connects recovery mould The input of block, the output recovering module connects processor;Modular converter is for according to RS-485 interface The saltus step situation of the first signal of the positive port of circuit or the output of negative terminal mouth generates the first pulse train and exports, All pulses in first pulse train are in-phase pulse, and each pulse in the first pulse train is sequentially right Answer one of first signal signal transition edges;Recover module for generating second according to the first pulse train Signal simultaneously exports, one of sequentially corresponding first pulse train of each signal transition edges in secondary signal Pulse.
The first signal exporting according to the positive port of RS-485 interface circuit or negative terminal mouth due to modular converter Saltus step situation generates the first pulse train and simultaneously exports, and each pulse in the first pulse train sequentially corresponding the One of one signal signal transition edges, and all pulses in the first pulse train are in-phase pulse, Therefore the first pulse train only describes the time sequence information of signal generation saltus step in the first signal, does not reflect first The saltus step direction of the transition edges in signal, now i.e. have ignored institute under RS-485 interface circuit reversal connection situation The saltus step direction producing just connect with RS-485 interface circuit in the case of produced saltus step situation in opposite direction, I.e. no matter RS-485 interface circuit is just connecing or reversal connection, and modular converter all can be described by the first pulse train The time sequence information of the signal generation saltus step in this first signal.Further as recovery module according to the first pulse Sequence generates secondary signal and exports, sequentially corresponding first pulse of each signal transition edges in secondary signal The pulse of one of sequence, i.e. recovers the characteristic based on RS-485 interface circuit transmission data for the module, i.e. passes During defeated communication data, start bit and stop bits are high level, do not transmit communication data period RS-485 and connect Mouth circuit output high level, according further to the sequential of the signal generation saltus step described by this first pulse train Information, thus RS-485 interface circuit can be generated and just connecing communication data information correct under state, i.e. second Signal.
Visible, no matter RS-485 interface circuit is just to connect or reversal connection, and the embodiment of the present invention all can be passed through will The first signal receiving is converted to describe the first arteries and veins of the time sequence information of signal generation saltus step in the first signal Rushing sequence, then characteristic and the first pulse train according to above-mentioned RS-485 interface circuit transmission data, extensive RS-485 interface circuit of appearing again just is connecing communication data information correct under state, it is achieved thereby that at RS-485 The reliability of communication can be further increased with the purpose of proper communication in the case of interface circuit reversal connection.
Brief description
For the technical scheme being illustrated more clearly that in the embodiment of the present invention, institute in embodiment being described below The accompanying drawing using is needed to briefly introduce, it should be apparent that, the accompanying drawing in describing below is only the present invention's Some embodiments, from the point of view of those of ordinary skill in the art, in the premise not paying creative work Under, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is a kind of system architecture schematic diagram that the embodiment of the present invention is suitable for;
Communication data is transmitted for a kind of RS-485 interface circuit that the embodiment of the present invention provides when Fig. 2 just connects Schematic diagram;
Communication data is transmitted for the another kind of RS-485 interface circuit that the embodiment of the present invention provides when Fig. 3 just connects Schematic diagram;
The structural representation of a kind of signal processing apparatus that Fig. 4 provides for the embodiment of the present invention;
The structural representation of the another kind of signal processing apparatus that Fig. 5 provides for the embodiment of the present invention;
A kind of signal processing apparatus signal processing flow schematic diagram that Fig. 6 provides for the embodiment of the present invention;
The another kind of signal processing apparatus signal processing flow schematic diagram that Fig. 7 provides for the embodiment of the present invention.
Detailed description of the invention
In order to make the purpose of the present invention, technical scheme and beneficial effect clearer, below in conjunction with accompanying drawing And embodiment, the present invention is further elaborated.It should be appreciated that described herein being embodied as Example only in order to explain the present invention, is not intended to limit the present invention.
The pulse being previously mentioned in the embodiment of the present invention or the transition edges of signal and another pulse or letter Number transition edges " in the same direction ", refer to that the edge of this two pulses or signal is rising edge or is decline The direction of the saltus step on edge, i.e. edge is identical." homophase " pulse being previously mentioned in the embodiment of the present invention, refers to The phase place of pulse is identical.
The transmission of transmission pin (T pin) and the RS-485 interface circuit of processor in the embodiment of the present invention Pin (T pin) connects, the direction pin (D pin) of processor and the side of RS-485 interface circuit Connect to pin (D pin), and the reception pipe of the RS-485 interface circuit in the embodiment of the present invention Pin (R pin) is unsettled, and the signal processing apparatus one end in the embodiment of the present invention connects RS-485 chip Positive port or negative terminal mouth, the other end connects the reception pin (R pin) of processor, so that the present invention implements The data being received by RS-485 chip in example have to pass through the signal processing device that the embodiment of the present invention provides The process put, just can be transferred to the reception pin (R pin) of processor.
As it is shown in figure 1, a kind of system architecture schematic diagram that the embodiment of the present invention is suitable for.The embodiment of the present invention can Only connect a load, i.e. point-to-point connected mode for a RS-485 interface circuit, it is possible to be suitable for In point-to-points connected mode, i.e. one RS-485 interface circuit connects multiple load.
Fig. 1 illustrates the schematic diagram that a RS-485 interface circuit is simultaneously connected with two loads, such as Fig. 1 Shown in, including first processor 101, the RS-485 interface circuit being connected with first processor 101 102, concrete, the transmission pin (T pin) of first processor 101 and a RS-485 interface circuit Transmission pin (T pin) connect, the direction pin (D pin) of first processor 101 and a RS-485 The direction pin (D pin) of interface circuit connects, the RS-485 interface electricity in the embodiment of the present invention The reception pin (R pin) on road is unsettled.It is connected to the first anode of a RS-485 interface circuit 102 The first signal processing apparatus 105 on mouthfuls 103, the first signal processing apparatus 105 is simultaneously and first processor 101 connect, the output of the first concrete signal processing apparatus 105 and the reception pipe of first processor 101 Pin (R pin) connects.Also include the 2nd RS-485 interface circuit 107 being connected with the second processor 106, The positive port 108 of the second of 2nd RS-485 interface circuit 107 and the of a RS-485 interface circuit 102 One positive port 103 connects, the second negative terminal mouth 109 and a RS-485 of the 2nd RS-485 interface circuit 107 First negative terminal mouth 104 of interface circuit 102 connects, with the second processor 106 and second while also including The secondary signal processing means 110 that the positive port 108 of the second of RS-485 interface circuit 107 connects.Further, Fig. 1 also includes the 3rd RS-485 interface circuit 112 being connected with the 3rd processor 111, the 3rd RS-485 4th negative terminal mouth 115 of interface circuit 112 and the 3rd positive port 116 of a RS-485 interface circuit 102 Connect, the 4th positive port 114 of the 3rd RS-485 interface circuit 112 and a RS-485 interface circuit 102 The 3rd negative terminal mouth 117 connect, also include simultaneously with the 3rd processor 111 and the 3rd RS-485 interface The 3rd signal processing apparatus 113 that 4th negative terminal mouth 115 of circuit 112 connects.And first signal processing device Put 105 the 3rd positive ports 116 also needing to be simultaneously connected with a RS-485 interface circuit 102.
It can be seen from figure 1 that a RS-485 interface circuit and the 2nd RS-485 interface circuit are just to connect, And a RS-485 interface circuit and the 3rd RS-485 interface circuit are reversal connections.Pass through between each processor RS-485 interface circuit carries out data transmission.
On the other hand, Fig. 1 illustrate only a kind of possible structure, skilled person will appreciate that, signal Processing means is attached on the arbitrary port in the positive port of RS-485 interface circuit and negative terminal mouth, The embodiment of the present invention does not limits.As shown in Figure 1, the first signal processing apparatus is connected to a RS-485 The positive port of interface circuit, the 3rd signal processing apparatus is then connected to the negative of the 3rd RS-485 interface circuit Interface.In the embodiment of the present invention, positive port and the negative terminal mouth of RS-485 interface circuit are usually said The A port of the band polarized of RS-485 interface circuit and B port.
The signal processing apparatus that the embodiment of the present invention is provided mainly processes RS-485 interface circuit as reception Data received during side, the data being sent for processor, the connected signal processing device of this processor Put and be left intact.The embodiment of the present invention just sends to first processor with the second processor respectively As a example by communication data when RS-485 interface circuit is for just connecing, send to first processor with the 3rd processor It is introduced as a example by communication data when RS-485 interface circuit is reversal connection.
Another factor that the embodiment of the present invention is based on is, specifies that RS-485 interface circuit passes in agreement The characteristic of defeated communication data.The signal that i.e. RS-485 interface circuit is exported when not exporting communication data is High level, during communication data transfer, start bit and stop bits are all high level, and single communication data passes The longest bit wide of defeated process only has 12, though therefore output low level always during communication data transfer, At most also only keep the low level of 12.Therefore, it when RS-485 interface circuit just connects, is more than at one It is continuously in high level in the time period of 12 bit data transmission times, if when RS-485 interface circuit reversal connection, It then within a time period more than 12 bit data transmission times, is continuously in low level.
Carry out in conjunction with the characteristic to regulation RS-485 interface circuit transmission communication data in agreement for Fig. 2 and Fig. 3 Introduce.Fig. 2 illustrates the schematic diagram transmitting communication data when a kind of RS-485 interface circuit just connects. As in figure 2 it is shown, in the first communication data transfer time period 202, and the first free time section 201, and The signal that in second free time section 203, RS-485 is transmitted.In the first communication data transfer time period 202, When i.e. having concrete communication data to be transmitted, first start bit 204 is high level, the first stop bits 205 is also high level.And be concrete communication data between first start bit 204 and the first stop bits 205, High level or low level are all relevant with practical communication data.
Further, the longest bit wide of agreement regulation single communication data transfer process only has 12, i.e. the first The time span of maximum length also only 12 bit data transmission between beginning position 204 and the first stop bits 205. Fig. 3 illustrates the schematic diagram of transmission communication data when another kind of RS-485 interface circuit just connects.Fig. 3 In in the second communication data transfer time period 209, and the 3rd free time section 208, and the 4th idle when Between RS-485 is transmitted in section 210 signal.In the second communication data transfer time period 209, i.e. have concrete Communication data when be transmitted, the second start bit 206 is high level, and the second stop bits 207 is also High level.Even and if the communication data being concrete between the second start bit 206 and the second stop bits 207 is all Low level, between the second start bit 206 and the second stop bits 207 be concrete communication data maximum length also The time span of only 12 bit data transmission.
Fig. 4 illustrates the structural representation of a kind of signal processing apparatus;Fig. 5 illustrates separately A kind of structural representation of signal processing apparatus.
Based on foregoing teachings, a kind of signal processing apparatus that the embodiment of the present invention provided is described in detail below 400.As shown in Figure 4 and Figure 5, including modular converter 401 and recover module 402.It is also preferred that the left modulus of conversion Block 401 specifically includes: every straight unit the 403rd, rectification unit the 404th, isolated location 405;Recover module 402 Specifically include d type flip flop 406 and reset unit 407:
Modular converter and recovery module, the input of modular converter connects the positive port of RS-485 interface circuit Or negative terminal mouth, the output of modular converter connects the input recovering module, and the output recovering module connects Processor;
The first signal that modular converter exports for the positive port according to RS-485 interface circuit or negative terminal mouth Saltus step situation generates the first pulse train and exports, and all pulses in the first pulse train are homophase arteries and veins Punching, one of sequentially corresponding first signal of each pulse in the first pulse train signal transition edges;
Recover module for generating secondary signal according to the first pulse train and exporting, each in secondary signal The pulse of one of sequentially corresponding first pulse train of signal transition edges.
Specifically, owing to modular converter is according to the positive port of RS-485 interface circuit in the embodiment of the present invention Or the saltus step situation of the first signal of negative terminal mouth output generates the first pulse train, it is seen that the embodiment of the present invention is not Depend on the change in polarity of RS-485 interface circuit, the only arbitrary port from positive port or negative terminal mouth Middle reading the first signal.
Further as no matter plug-in how many loads of RS-485 interface circuit, and RS-485 interface circuit institute Whether the signal of output can be totally turned over, and the signal that its single port is exported necessarily has voltage change.Lift Individual example, it is assumed that the high level that RS-485 interface circuit normally exports is 5V, and conventional output is completely anti- Turn low level be-5V, when RS-485 interface circuit due to connect load more when, and just connecing more from And the level signal causing RS-485 to export cannot invert completely, further result in RS-485 interface circuit institute When the low level of output only has 2V, owing to Logic judgment 5V and 2V is 1 in prior art, therefore, Prior art cannot correctly be understood communication data.And when RS-485 interface being detected in the embodiment of the present invention The signal of the single port output on circuit, when 5V becomes 2V, i.e. can determine that this signal from high electricity Put down and become low level, and successfully this changing condition is converted to the pulse in the first pulse train.Visible, this In inventive embodiments, even if the level signal being exported in RS-485 interface circuit cannot invert completely, but The level signal being exported only has change, and the embodiment of the present invention all can correctly catch.
In being embodied as, it is preferred that whole circuit structure can be configured, so that RS-485 interface is electric Difference between high level that the either port on road is exported and low level at least should be greater than the embodiment of the present invention The conducting voltage of middle isolation circuit.For example, it is assumed that the isolation circuit in the embodiment of the present invention selects the conducting voltage to be The photoelectric coupling circuit of 0.3V realizes, then the either end of the RS-485 interface circuit in the embodiment of the present invention Difference between the high level that exported of mouth and low level at least should be greater than 0.3V, in order to improves the present invention real The signal processing apparatus that executing example is provided successfully realizes the probability of RS-485 proper communication in the case of reversal connection, And improve the adaptability of the embodiment of the present invention.
Lower mask body introduces the modular converter 401 in the embodiment of the present invention.
Specifically, it is also preferred that the left every straight unit the 403rd, rectification unit the 404th, modular converter 401 specifically includes Isolated location 405:
Be connected with the positive port of RS-485 interface circuit or negative terminal mouth every straight unit, be connected with every straight unit Rectification unit, the isolated location being connected with rectification unit, the output of isolated location connects and recovers module.
And export, the second arteries and veins for saltus step situation generation the second pulse train according to the first signal every straight unit Rush one of sequentially corresponding first signal of each pulse in sequence signal transition edges, the second pulse train In the transition edges of each pulse and corresponding signal in the first signal transition edges in the same direction;
Rectification unit is for negating or the negative-going pulse in the second pulse train by the second pulse train Direct impulse negates, and obtains three-pulse sequence, and all pulses in three-pulse sequence are in-phase pulse;
Isolated location is for obtaining the first pulse train according to three-pulse sequence and exporting.
Specifically, every straight unit for generating the second pulse train defeated according to the saltus step situation of the first signal Go out to rectification unit.It is mainly used in each the signal transition edges at the first signal every straight unit, all corresponding Generate the pulse in second pulse train, i.e. falling edge one arteries and veins of corresponding generation at the first signal Punching, also generates a pulse at the rising edge of the first signal.The jump of each pulse in the second pulse train The transition edges of the corresponding signal in change edge and the first signal in the same direction, specifically, is the first signal Trailing edge in the second pulse train corresponding pulse be the pulse of negative direction.The rising edge of the first signal exists Corresponding pulse in second pulse train is the pulse of positive direction.Visible, the second pulse train can not only table Levy the first signal and send the timing condition of edge transition, also can characterize the concrete edge transition side of the first signal To.
Giving an example, the high level of the second pulse train being provided every straight unit is 3V, and low level is-3V, Center line is 0V, then the first signal is jumped to low level trailing edge institute in the second pulse train by high level Corresponding pulse, for being changed to-3V from 0V, is then changed to the pulse of a negative direction of 0V again from-3V; Accordingly, the first signal by the rising edge of low transition to high level in the second pulse train corresponding Pulse, for being changed to 3V from 0V, is then changed to the pulse of a positive direction of 0V again from 3V.
It is also preferred that the left as it is shown in figure 5, specifically include the first electric capacity 501 and the first resistance 502 every straight unit 403:
One end of first electric capacity 501 connects positive port or the negative terminal mouth of RS-485 interface circuit, such as Fig. 5 institute 5th input 503 of the first electric capacity showing, the other end of the first electric capacity 501 connects the first resistance 502; One end of first resistance 502 connects the first electric capacity 501, and the other end is grounded;First resistance 502 and the first electricity Holding a tie point between 501 is the first output 504 every straight unit, the ground connection of the first resistance 502 End is the second output 505 every straight unit.
Have every straight characteristic due to electric capacity, therefore, passed through at the 5th input 503 of the first electric capacity The first signal in high level or low level through the first electric capacity, from the signal of the first electric capacity output, i.e. Signal at first output 504 always becomes the positive negative signal with 0V as median.Further, in order to Forming pulse, can regulate the resistance of the first resistance being connected with the first electric capacity is less, so that the first electric capacity Reached the purpose of repid discharge by the first less resistance, even if the signal of the first electric capacity output is each time 0V can be quickly returning to after signal saltus step.
Give one example, when the one end of the first electric capacity connecting RS-485 interface circuit, the i.e. first electric capacity The first signal at 5th input 503, when 5V is reduced to 2V, i.e. reduces 3V, the first electric capacity The other end, can produce the same change at the i.e. first output 504, can be rapidly at the i.e. first output 504 It is reduced to-3V from 0V, and due to the existence of the first resistance, and the first resistance eutral grounding, therefore, the first electric capacity Always turn again to 0V by electric discharge, when the first resistance is adjusted less when, the first electric capacity can be quickly returning to 0V, thus at the second tie point, now just define an elder generation become-3V from 0V, quick from-3V afterwards Become the negative-going pulse of 0V.
Accordingly, as the one end of the first electric capacity connecting RS-485 interface circuit, the 5th of the i.e. first electric capacity The first signal at input 503 is when 2V rises to 5V, when i.e. increasing 3V, and the first electric capacity another One end, can produce the same change at the i.e. first output 504, i.e. rapid be increased to 3V from 0V, and by In the existence of the first resistance, and the first resistance eutral grounding, therefore, the first electric capacity is always turned again to by electric discharge 0V, when the first resistance is adjusted less when, the first electric capacity can be quickly returning to 0V, thus now just first Define an elder generation at output 504 and become 3V from 0V, quickly become the forward arteries and veins of 0V afterwards from 3V Punching.
The rectification unit that the embodiment of the present invention is provided is for negating the negative-going pulse in the second pulse train Or the direct impulse in the second pulse train is negated, obtain three-pulse sequence, in three-pulse sequence All pulses are in-phase pulse.
Specifically, owing to the pulse in the second pulse train by being exported every straight unit not only characterizes The sequential of transition edges in first signal, but also reflect saltus step direction.Further as working as RS-485 During interface circuit reversal connection, the saltus step direction of the first signal is contrary with during saltus step direction when just connecing, therefore, The embodiment of the present invention generates three-pulse sequence by rectification unit, and all pulses in three-pulse sequence are equal For in-phase pulse, therefore, three-pulse sequence negligible fall signal in the first signal jump nyctitropic characteristic, Only characterize the sequential of transition edges in the first signal.
The concrete effect of rectification unit is that the pulse by both direction present in the second pulse train is integrated into The pulse in one direction.Concretely all negative-going pulses in the second pulse train are negated, or by All direct impulses in two pulse trains negate.
Preferential, as it is shown in figure 5, rectification unit 404 is rectifier bridge 605;The first of rectifier bridge 605 is defeated Enter end 602 and the second input 601 connects the first output 504 every straight unit and the second output respectively 505, it is the 3rd defeated that the 3rd output 603 of rectifier bridge and the 4th output 604 connect isolated location respectively Enter end 702 and the 4th input 701.It is also preferred that the left the second input 601 of rectifier bridge 605 is grounded.
Specifically, first input end 602 and second input 601 of rectifier bridge 605 is used for receiving every directly The second pulse signal that unit 403 is exported.
Rectifier bridge is a kind of basic components and parts, and the characteristic of rectifier bridge is for when first input end 602 and the second input When applying a positive level voltage between end 601, such as+3V, the 3rd output 603 and the 4th of rectifier bridge is defeated Go out and can export corresponding positive level voltage, i.e.+3V between end 604.And work as first input end 602 and second When applying a negative level voltage between input 601, such as-3V, the 3rd output 603 of rectifier bridge and Corresponding positive level voltage, i.e.+3V can be exported between four outputs 604.
Visible, even if the pulse of all negative senses in the second pulse train is all negated by the effect of rectifier bridge, So that the pulse in all three-pulse sequences being formed is in-phase pulse.
Isolated location in the embodiment of the present invention mainly obtains the first pulse train simultaneously according to three-pulse sequence Output.Specifically, the pulse in the first pulse train and the pulse one_to_one corresponding in three-pulse sequence, And the pulse that first in pulse train is also in-phase pulse.
It is also preferred that the left isolated location is photoelectric coupling circuit or gate-controlled switch circuit.Gate-controlled switch circuit can be three The components such as pole pipe.The embodiment of the present invention is introduced as a example by isolated location is as photoelectric coupling circuit.
As it is shown in figure 5, isolated location 405 is photoelectric coupling circuit 708, the of photoelectric coupling circuit 708 Four inputs 701 are connected with the 4th output 604 of rectifier bridge, the 3rd input of photoelectric coupling circuit 708 End 702 is connected with the 3rd output 603 of rectifier bridge, the 5th output 703 of photoelectric coupling circuit 708 Connecting photoelectric coupling circuit power end 705, the 6th output 704 connects the input recovering module 402.
The concrete property of photoelectric coupling circuit is, defeated between the 4th input 701 and the 3rd input 702 When entering high level, the 5th output 703 of photoelectric coupling circuit and the 6th output 704 just turn on, now The voltage signal of the high level that the 6th exportable photoelectric coupling circuit power end 705 of output 704 is provided. Accordingly, between the 4th input 701 and the 3rd input 702, input the low level voltage signal of 0V When, the 5th output 703 of photoelectric coupling circuit and the 6th output 704 just turn off, and now the 6th export End 704 just exports the voltage signal of 0V.
It is also preferred that the left also can be in the 3rd output of the 3rd input 702 of photoelectric coupling circuit 708 and rectifier bridge Connect the 3rd resistance 706 between end 603, be used for coordinating photoelectric coupling circuit 708 to use, the 3rd resistance 706 For limiting the maximum current of photoelectric coupling circuit 708, can enter according to the requirement of different photoelectric coupling circuits Row value, it might even be possible to 0 ohm, it may be assumed that the 3rd resistance two ends are in short-circuit condition.
It it is also preferred that the left photoelectric coupling circuit 708 may also include the 4th resistance 707, is used for when system electrification, Stablize low level acquiescence pull down resistor to the output one of photoelectric coupling circuit.Can be according to different photoelectricity The requirement of coupling circuit carries out value, it might even be possible to 0 ohm, it may be assumed that the 4th resistance two ends are in short circuit shape State.
Visible by foregoing description, after modular converter receives the first signal, the process entering some row is final Define the first pulse train, and the first pulse train is exported to recovery module.
Specifically, as it is shown in figure 5, the recovery module 402 in the embodiment of the present invention includes d type flip flop 406;
The CP pin 802 of d type flip flop 406 connects the output of modular converter, the QN of d type flip flop 406 Pin 804 connects processor, and the D pin 801 of d type flip flop 406 is connected with QN pin 804;At D The rising edge of signal of CP pin 802 input of trigger 406 or trailing edge, QN pin 804 defeated Go out signal generation saltus step.It is also preferred that the left the QN pin of d type flip flop 406 connects recovers module the 5th output 904。
Further, it is also preferred that the left d type flip flop also includes VCC pin 803, for providing for d type flip flop Voltage signal.
It is also preferred that the left recover module 402 also include reset unit 407, the input of reset unit 407 connects The output of modular converter, the output of reset unit 407 connects the reseting pin 805 of d type flip flop 406;
Reset unit 407 is for when the output output high level of modular converter, to the reset of d type flip flop Pin 805 exports high level, so that d type flip flop work;Modular converter output output low level and When the time span keeping is not more than the first duration, export high level to the reseting pin 805 of d type flip flop, So that d type flip flop work;Wherein, the first duration is more than or equal to needed for RS-485 transmission 12 bit data Time span;It is more than the first duration in the output output low level of modular converter and the time span of holding When, to reseting pin 805 output low level of d type flip flop, so that d type flip flop resets.
Specifically, d type flip flop, is a kind of existing general basic components and parts, operation principle particularly as follows:
In the state of reseting pin output high level, when CP pin one trailing edge of input of d type flip flop When, the voltage signal of current QN pin output can be negated by d type flip flop.Further as QN pin even Connecing processor, therefore this voltage signal of the inverted exports to processor eventually through QN pin.
In the state of reseting pin output high level, when the CP pin of d type flip flop inputs one except decline During state outside Yan, such as rising edge, or during the 0V signal of non-edge transition signal, the D of d type flip flop Pin output voltage signal, d type flip flop can make QN pin keep the state of the voltage signal currently being exported. Connecting processor further as QN pin, therefore this voltage signal exports to place eventually through QN pin Reason device.
In the state of reseting pin output low level, when CP pin one rising edge of input of d type flip flop Or when trailing edge or other any states, the voltage signal of d type flip flop D pin output directly exports.And D Trigger can make QN pin persistently export high level.
Take a particular example, in the state of reseting pin output high level, when the CP pipe of d type flip flop During pin one trailing edge of input, it is assumed that the output voltage of the D pin of d type flip flop is 5V, owing to D touches Send out the output of device QN pin by default for high level, therefore now then QN can be managed by d type flip flop The voltage signal of pin output negates, and i.e. becomes low level from high level, it is assumed that the low electricity arranging in d type flip flop Put down as 0V, then now the QN pin of d type flip flop starts to export 0V;Afterwards, the CP pipe of d type flip flop When pin inputs a state in addition to trailing edge, such as rising edge, or the 0V signal of non-edge transition signal When, the voltage signal that d type flip flop makes QN pin export keeps current state, i.e. d type flip flop persistently exports 0V signal, during until the CP pin of d type flip flop inputs next rising edge, d type flip flop is to current QN The voltage signal of pin output negates again, i.e. QN pin now negates as high level from low level, thus Output 5V signal, and hold up to and receive trailing edge next time.Assume the whole time at the first duration In section, the CP pin of d type flip flop does not all receive edge transition signal, does not i.e. receive with rising edge Or the signal of trailing edge, as being all 0V signal, then the QN pin of d type flip flop currently without what opinion exported is What signal, all starts to export high level.
Specifically represent the operation principle of d type flip flop below with table 1:
The operation principle of table 1 d type flip flop
Another kind of implementation is can be configured d type flip flop so that it is when reseting pin exports high level In the state of, when CP pin one rising edge of input of d type flip flop, d type flip flop can be by current QN The voltage signal of pin output negates, and from the output of QN pin.Further as QN pin connection process Device, therefore this voltage signal of the inverted exports to processor eventually through QN pin.
In the state of reseting pin output high level, when the CP pin of d type flip flop inputs one except rising Along along outside state when, such as trailing edge, or during the 0V signal of non-edge transition signal, d type flip flop D pin output voltage signal, d type flip flop can make QN pin keep the shape of the voltage signal currently being exported State.Connecting processor further as QN pin, therefore this voltage signal exports eventually through QN pin To processor.
In the state of reseting pin output low level, when CP pin one rising edge of input of d type flip flop Or when trailing edge or other any states, the voltage signal of d type flip flop D pin output directly exports.And D Trigger can make QN pin persistently export high level.
Specifically represent the operation principle of another kind of d type flip flop below with table 2:
The another kind of operation principle of table 2 d type flip flop
Specifically, reseting pin can be specially implemented below form.
It is also preferred that the left reset unit 407 specifically includes diode the 901st, the second electric capacity the 902nd, the second resistance 903;
Second electric capacity 902 is in parallel with the second resistance 903, and the second electric capacity 902 is connected with the second resistance 903 The first end be connected with the reseting pin 805 of d type flip flop, and connect diode 901 negative pole, diode Positive pole connect modular converter output;The second end that second electric capacity 902 is connected with the second resistance 903 Ground connection, is connected with the 4th resistance 707 between earth terminal and the output of modular converter;
When the output output high level of modular converter, diode current flow, the second electric capacity charging, touch to D Send out the reseting pin output high level of device;When the output output low level of modular converter, diode turns off, Second electric capacity is discharged over the ground by the second resistance, to the reseting pin output high level of d type flip flop;Second electricity Retention time after resistance guarantee second electric capacity of resistance is charged to high level is the first duration.
Specifically, when the output of modular converter is to diode output high level, diode is on State, thus can to second electric capacity charging, and now d type flip flop reseting pin output high level;
When the output of modular converter is to diode output low level, diode is off state, and second Electric capacity passes through the second conductive discharge, now the reseting pin output high level of d type flip flop;Can be to the second resistance It is adjusted ensureing the electric discharge duration of the second electric capacity.Transmission up to 12 due to single communication data Data transmission period, therefore, adjustable second resistance ensures the electric discharge duration of the second electric capacity, the i.e. second electricity Holding the retention time after being charged to high level is the first duration, wherein first when a length of be more than or equal to Time span needed for 12 bit data for the R485 transmission;
Further, when the output of modular converter continues output low level to diode, diode is still located In off state, after off state is more than the first duration, after the i.e. second electric capacity charging, keep high level Time more than the first duration, then the reseting pin output low level of d type flip flop.
By above-mentioned discussion, it is the conversion that will receive that the function of recovery module mainly has two: one The first pulse train that module is sent changes into the edge of secondary signal, thus recovers original RS-485 Signal, further as signal processing apparatus recovery module with processor connect, therefore, processor is used for Secondary signal according to recovering module output is processed.Another one is when recovery module receives low for a long time Level, and when not receiving pulse signal, recover module and need to give tacit consent to output high level, so that next time correctly connects Receive the signal of RS-485 interface circuit.
Foregoing specifically describes concrete structure and the operation principle of unit, enumerates two separately below Individual specific example.
Example one, as shown in Figure 6, a kind of signal processing apparatus signal that Fig. 6 provides for the embodiment of the present invention Handling process schematic diagram.Positive port when just connecing by RS-485 interface circuit receiving when modular converter is inputted Signal when, start bit and the stop bits of the communication data that RS-485 interface circuit is transmitted are high level. Shown in the third communication data transmission period section 1107 of the first signal 1101 as shown in Figure 6.
When the first signal 1101 through modular converter after straight unit effect, form the second pulse train 1102.As can be seen from Figure 6, sequentially corresponding described first letter of each pulse in described second pulse train Number one of signal transition edges, the transition edges of each pulse in described second pulse train with described The transition edges of the corresponding signal in the first signal is in the same direction.
When the second pulse train 1102 is after the effect of the rectification unit of modular converter, form the 3rd arteries and veins Rush sequence 1103.As can be seen from Figure 6, each pulse in described three-pulse sequence sequentially corresponding described The pulse of one of two pulse trains, all pulses in described three-pulse sequence are in-phase pulse.
When three-pulse sequence 1103 is after the effect of the isolated location of modular converter, form the first arteries and veins Rush sequence 1104.As can be seen from Figure 6, each pulse in described first pulse train sequentially corresponding described The pulse of one of three-pulse sequence, all pulses in described first pulse train are in-phase pulse.From And, one of sequentially corresponding described first signal of each pulse in the first pulse train signal saltus step limit Edge.
Recover module and generate reseting pin signal 1106 according to the first pulse train 1104, it is seen then that when first When the corresponding output of signal has concrete communication data, when i.e. having rising edge and trailing edge, reseting pin signal 1106 are always high level state.Now recover module and generate secondary signal according to the first pulse train 1104 1105.Visible, in described secondary signal sequentially corresponding described first pulse train of each signal transition edges One of pulse.Specifically, each signal transition edges sequentially corresponding described first in secondary signal The rising edge of one of pulse train pulse, or each the signal transition edges in secondary signal is sequentially right Answer the trailing edge of one of described first pulse train pulse.
Further, when the first pulse train 1104 after third communication data transmission period section the first duration When not exporting pulse in 1108, recover module reseting pin signal third communication data transmission period section it Start output low level, so that secondary signal 1105 passes in third communication data after rear first duration 1108 The followed by output high level of the first duration 1108 after the defeated time period.
Be can be seen that by example one, when RS-485 interface circuit just connects, signal processing apparatus is recovered Secondary signal consistent with the first signal, start bit and the stop bits of concrete communication data are high level.And When not transmitting concrete communication data, secondary signal also persistently exports high level, thus ensure that next time connects Receive the degree of accuracy of RS-485 communication data.
Foregoing specifically describes concrete structure and the operation principle of unit, enumerates two separately below Individual specific example.
Example two, as it is shown in fig. 7, the another kind of signal processing device confidence that Fig. 7 provides for the embodiment of the present invention Number handling process schematic diagram.When modular converter receive for RS-485 interface circuit reversal connection when positive port defeated During the signal entering, the start bit of the communication data that RS-485 interface circuit is transmitted and stop bits are low electricity Flat.Shown in the fourth communication data transmission period section 1201 of the first signal 1101 as shown in Figure 7.
When the first signal 1101 through modular converter after straight unit effect, form the second pulse train 1102.As can be seen from Figure 7, sequentially corresponding described first letter of each pulse in described second pulse train Number one of signal transition edges, the transition edges of each pulse in described second pulse train with described The transition edges of the corresponding signal in the first signal is in the same direction.
When the second pulse train 1102 is after the effect of the rectification unit of modular converter, form the 3rd arteries and veins Rush sequence 1103.As can be seen from Figure 7, each pulse in described three-pulse sequence sequentially corresponding described The pulse of one of two pulse trains, all pulses in described three-pulse sequence are in-phase pulse.
When three-pulse sequence 1103 is after the effect of the isolated location of modular converter, form the first arteries and veins Rush sequence 1104.As can be seen from Figure 7, each pulse in described first pulse train sequentially corresponding described The pulse of one of three-pulse sequence, all pulses in described first pulse train are in-phase pulse.From And, one of sequentially corresponding described first signal of each pulse in the first pulse train signal saltus step limit Edge.
Recover module and generate reseting pin signal 1106 according to the first pulse train 1104, it is seen then that when first When the corresponding output of signal has concrete communication data, when i.e. having rising edge and trailing edge, reseting pin signal 1106 are always high level state.Now recover module and generate secondary signal according to the first pulse train 1104 1105.Visible, in described secondary signal sequentially corresponding described first pulse train of each signal transition edges One of pulse.Specifically, each signal transition edges sequentially corresponding described first in secondary signal The rising edge of one of pulse train pulse, or each the signal transition edges in secondary signal is sequentially right Answer the trailing edge of one of described first pulse train pulse.
Further, when the first pulse train 1104 after fourth communication data transmission period section the first duration When not exporting pulse in 1202, recover module reseting pin signal fourth communication data transmission period section it Start output low level, so that secondary signal 1105 passes in fourth communication data after rear first duration 1202 The followed by output high level of the first duration 1202 after the defeated time period.
Be can be seen that by example two, when RS-485 interface circuit reversal connection, signal processing apparatus is recovered Secondary signal contrary with the first signal, start bit and the stop bits of concrete communication data are high level.And When not transmitting concrete communication data, secondary signal also persistently exports high level, thus ensure that next time connects Receive the degree of accuracy of RS-485 communication data.
It can be seen from the above: owing to modular converter is according to the positive port of RS-485 interface circuit or negative The saltus step situation of the first signal of port output generates the first pulse train and exports, and in the first pulse train One of sequentially corresponding first signal of each pulse signal transition edges, and the first pulse train in institute Have pulse to be in-phase pulse, therefore the first pulse train only describe signal generation saltus step in the first signal when Sequence information, does not reflect the saltus step direction of transition edges in the first signal, now i.e. have ignored RS-485 Under interface circuit reversal connection situation, produced saltus step direction is produced in the case of just connecing with RS-485 interface circuit Saltus step situation in opposite direction, i.e. no matter RS-485 interface circuit is just connecing or reversal connection, and modular converter is equal The time sequence information of signal generation saltus step in this first signal can be described by the first pulse train.Further by Generating secondary signal according to the first pulse train in recovering module and exporting, each signal in secondary signal is jumped Become the pulse of one of sequentially corresponding first pulse train in edge, i.e. recover module based on RS-485 interface electricity The characteristic of road transmission data, i.e. during transmission communication data, start bit and stop bits are high level, do not transmit Communication data period RS-485 interface circuit exports high level, is retouched according further to this first pulse train The time sequence information of the signal generation saltus step stated, thus RS-485 interface circuit can be generated and just connecing under state correct Communication data information, i.e. secondary signal.
Visible, no matter RS-485 interface circuit is just to connect or reversal connection, and the embodiment of the present invention all can be passed through will The first signal receiving is converted to describe the first arteries and veins of the time sequence information of signal generation saltus step in the first signal Rushing sequence, then characteristic and the first pulse train according to above-mentioned RS-485 interface circuit transmission data, extensive RS-485 interface circuit of appearing again just is connecing communication data information correct under state, it is achieved thereby that at RS-485 The reliability of communication can be further increased with the purpose of proper communication in the case of interface circuit reversal connection.
Although preferred embodiments of the present invention have been described, but those skilled in the art once know base This creativeness concept, then can make other change and modification to these embodiments.So, appended right is wanted Ask all changes and the modification being intended to be construed to include preferred embodiment and fall into the scope of the invention.
Obviously, those skilled in the art can carry out various change and modification without deviating from this to the present invention Bright spirit and scope.So, if the present invention these modification and modification belong to the claims in the present invention and Within the scope of its equivalent technologies, then the present invention is also intended to comprise these changes and modification.

Claims (9)

1. a signal processing apparatus, it is characterised in that include: modular converter and recovery module, described The input of modular converter connects positive port or the negative terminal mouth of RS-485 interface circuit, described modular converter Output connects the input of described recovery module, and the output of described recovery module connects processor;
Described modular converter for export according to the positive port of described RS-485 interface circuit or negative terminal mouth the The saltus step situation of one signal generates the first pulse train and exports, all pulses in described first pulse train It is in-phase pulse, in sequentially corresponding described first signal of each pulse in described first pulse train Individual signal transition edges;
Described recovery module is for generating secondary signal according to described first pulse train and exporting, described second The pulse of one of sequentially corresponding described first pulse train of each signal transition edges in signal.
2. device as claimed in claim 1, it is characterised in that described modular converter specifically includes: with The positive port of described RS-485 interface circuit or negative terminal mouth connect every straight unit, with described every straight unit even The rectification unit connecing, the isolated location being connected with described rectification unit, the output of described isolated location connects Described recovery module;
Described every straight unit for generating the second pulse train defeated according to the saltus step situation of described first signal Go out, the signal saltus step of one of sequentially corresponding described first signal of each pulse in described second pulse train Edge, corresponding with described first signal of the transition edges of each pulse in described second pulse train The transition edges of signal is in the same direction;
Described rectification unit is for negating or the negative-going pulse in described second pulse train by described second Direct impulse in pulse train negates, and obtains three-pulse sequence, owning in described three-pulse sequence Pulse is in-phase pulse;
Described isolated location is for obtaining described first pulse train according to described three-pulse sequence and exporting.
3. device as claimed in claim 2, it is characterised in that described specifically include first every straight unit Electric capacity and the first resistance;
One end of described first electric capacity connects positive port or the negative terminal mouth of described RS-485 interface circuit, another End connects described first resistance;One end of described first resistance connects described first electric capacity, and the other end is grounded;
A tie point between described first resistance and described first electric capacity is described every the first of straight unit Output, the earth terminal of described first resistance is described the second output every straight unit.
4. device as claimed in claim 2, it is characterised in that described rectification unit is rectifier bridge;
The first input end of described rectifier bridge and the second input connect described first defeated every straight unit respectively Going out end and the second output, the 3rd output of described rectifier bridge and the 4th output connect described isolation respectively 3rd input of unit and the 4th input.
5. device as claimed in claim 2, it is characterised in that described isolated location is photoelectric coupling electricity Road or gate-controlled switch circuit.
6. device as claimed in claim 1, it is characterised in that described recovery module includes d type flip flop;
The CP pin of described d type flip flop connects the output of described modular converter, described d type flip flop QN pin connects described processor, and the D pin of described d type flip flop is connected with described QN pin;
The rising edge of signal of CP pin input or trailing edge, described QN pin at described d type flip flop Output signal generation saltus step.
7. device as claimed in claim 6, it is characterised in that described recovery module also includes the list that resets Unit, the input of described reset unit connects the output of described modular converter, the output of described reset unit End connects the reseting pin of described d type flip flop;
Described reset unit is used for:
When the output output high level of described modular converter, to the reseting pin output of described d type flip flop High level, so that the work of described d type flip flop;
It is not more than the first duration in the output output low level of described modular converter and the time span of holding When, to the reseting pin output high level of described d type flip flop, so that the work of described d type flip flop;Wherein, Described first duration transmits the time span needed for 12 bit data more than or equal to R485;
When the output output low level of described modular converter and the time span of holding are more than described first When long, to the reseting pin output low level of described d type flip flop, so that described d type flip flop resets.
8. device as claimed in claim 7, it is characterised in that described reset unit specifically includes two poles Pipe, the second electric capacity, the second resistance;
Described second electric capacity and described second resistor coupled in parallel, described second electric capacity is connected with described second resistance The first end be connected with the reseting pin of described d type flip flop, and connect the negative pole of described diode, described two The positive pole of level pipe connects the output of described modular converter;
The second end ground connection that described second electric capacity is connected with described second resistance, in earth terminal and described conversion It is connected with described 3rd resistance between the output of module;
When the output output high level of described modular converter, described diode current flow, described second electric capacity Charging, to the reseting pin output high level of described d type flip flop;Output output at described modular converter During low level, described diode turns off, and described second electric capacity is discharged over the ground by described second resistance, to institute State the reseting pin output high level of d type flip flop;
The resistance of described second resistance ensures that described second electric capacity is charged to the retention time after high level For described first duration.
9. device as claimed in claim 1, it is characterised in that also include described processor, described place Reason device is for processing according to the described secondary signal of described recovery module output.
CN201510077147.5A 2015-02-12 2015-02-12 A kind of signal processing apparatus Active CN105991160B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510077147.5A CN105991160B (en) 2015-02-12 2015-02-12 A kind of signal processing apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510077147.5A CN105991160B (en) 2015-02-12 2015-02-12 A kind of signal processing apparatus

Publications (2)

Publication Number Publication Date
CN105991160A true CN105991160A (en) 2016-10-05
CN105991160B CN105991160B (en) 2018-09-28

Family

ID=57042478

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510077147.5A Active CN105991160B (en) 2015-02-12 2015-02-12 A kind of signal processing apparatus

Country Status (1)

Country Link
CN (1) CN105991160B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112367066A (en) * 2020-11-10 2021-02-12 苏州坤元微电子有限公司 Signal conditioning system and method applied to non-polar dual bus

Family Cites Families (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0846526A (en) * 1994-05-25 1996-02-16 Sony Corp Coding method and coder decoder for digital signal and coding decoding method
CN101262398B (en) * 2007-12-14 2010-09-01 华南理工大学 Monitoring sub-station communication network for pollution source monitoring system
CN101521561B (en) * 2009-03-31 2011-07-20 清华大学 High-speed RS485 energy/data transmission terminal
JP2011082904A (en) * 2009-10-09 2011-04-21 Nec Corp Serial receiving circuit, serial receiving device, radio base station, mobile communication device, and interference compensation method
CN101907468A (en) * 2010-07-02 2010-12-08 哈尔滨工程大学 Three-channel pitch detection/conversion device for all-around propeller of submersible
CN101943901B (en) * 2010-08-11 2012-10-24 西安电子科技大学 Online data monitoring device of non-contact-type 485 bus
CN102521193B (en) * 2011-12-30 2015-03-11 无锡新硅微电子有限公司 Nonpolar RS-485 interface circuit
JP2013229839A (en) * 2012-04-26 2013-11-07 Tsushin Hoso Kokusai Kenkyusho:Kk Information signal processing system, information signal processing device, information signal processing circuit, and information recording medium
CN103424660B (en) * 2012-11-13 2016-05-18 万高(杭州)科技有限公司 RS-485 communication interface device for detecting polarity, method and chip
CN203166862U (en) * 2013-03-04 2013-08-28 海信科龙电器股份有限公司 Non-polarized transmit-receive unit and RS-485 communication circuit
CN203326979U (en) * 2013-07-09 2013-12-04 南京三能电力仪表有限公司 Non-polar-connection RS485 circuit
CN204131543U (en) * 2014-07-28 2015-01-28 珠海中慧微电子有限公司 A kind of self-detection self-recoverage RS485 communicating circuit
CN104199338B (en) * 2014-08-04 2017-03-15 珠海中慧微电子有限公司 A kind of communicating control method of RS485 communicating circuits
CN104216317B (en) * 2014-08-15 2017-04-19 北京佳讯飞鸿电气股份有限公司 Enabling signal control circuit used for improving data transmission reliability of RS485 bus
CN104184638B (en) * 2014-09-15 2018-02-13 杭州万高科技股份有限公司 The bus anti-collision methods of RS 485, interface chip and its communication network

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112367066A (en) * 2020-11-10 2021-02-12 苏州坤元微电子有限公司 Signal conditioning system and method applied to non-polar dual bus

Also Published As

Publication number Publication date
CN105991160B (en) 2018-09-28

Similar Documents

Publication Publication Date Title
CN105393237B (en) Multiphase clock generation method
CN104617957A (en) Asynchronous successive approximation type A/D (analog to digital) converter
CN106941349A (en) A kind of low delay optical coupling isolation circuit and RS485 isolate telecommunication circuit
CN105740193A (en) USB (Universal Serial Bus) interface circuit, terminal equipment, signal interface and external equipment
CN102324922A (en) Low voltage difference signal drive circuit and digital signal conveyer
CN103684943A (en) Bus system with power supply transmission and data communication functions
CN106155969B (en) data transmission system and transmission method thereof
CN106535412B (en) The digital simulation light adjusting circuit that a kind of port shares
CN102195619A (en) Method and circuit for detecting and eliminating signal glitch
CN105991160A (en) Signal processing device
CN104216317B (en) Enabling signal control circuit used for improving data transmission reliability of RS485 bus
CN203691617U (en) Audio processing circuit with zero-crossing detection function
CN206057879U (en) A kind of multichannel long range one-wire bus host driven circuit based on microcontroller
CN205142206U (en) Switch circuit of communication direction
CN101800821A (en) Medical communication calling equipment
CN204556766U (en) LVDS opens short-circuit detecting device
CN203858539U (en) Switch MDC connection circuit
US7738570B2 (en) Sender, receiver and method of transferring information from a sender to a receiver
CN103631226B (en) Serial transmission promotion method
CN106201972A (en) A kind of high speed serial communication method being applicable to low cost child node
CN106850132B (en) Character frame transmitting/receiving method, transmitting/receiving end and one-way communication system
CN104953985A (en) Digital filtering circuit applied to long-distance transmission system
CN220820664U (en) I2C slave device detection circuit
CN104079309A (en) Communication device and communication method of K wave band vehicle-mounted receiver
CN203537475U (en) Relay serial port camera

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant