The utility model content
For solving the problems of the technologies described above, the utility model provides a kind of signal processing module and motion control card, and the interference signal in the filtering pulse signal is exported correct pulse signal, and then improves the stability of motor and control system.Technical scheme is as follows:
Based on one side of the present utility model, a kind of signal processing module is provided, be applied to motion control card, comprising:
First input end;
Second input;
The anode of luminous tube links to each other with described first input end by first resistance, the optocoupler that negative electrode links to each other with described second input by second resistance, and the collector electrode of described optical coupling secondary edges links to each other the grounded emitter of secondary by the 3rd resistance with power supply;
Be connected in anode and the 4th resistance between the negative electrode and first electric capacity of described optocoupler luminous tube in parallel;
Input connects the trigger of the tie point of the collector electrode of described optical coupling secondary edges and described the 3rd resistance.
Preferably, also comprise:
Be connected the 5th resistance between the input of the tie point of the collector electrode of described optical coupling secondary edges and described the 3rd resistance and trigger;
One end connects the tie point of the input of described the 5th resistance and described trigger, second electric capacity of an end ground connection.
Preferably, described trigger is a Schmidt trigger.
Preferably, described first input end is connected with first output of signal generation device in the control system, and described second input is connected with second output of signal generation device in the control system.
Preferably, described first input end is connected with the signal output part of signal generation device in the control system, described second input end grounding.
Preferably, described second input is connected with the signal output part of signal generation device in the control system, and described first input end connects power supply.
Based on the other hand of the present utility model, a kind of motion control card is provided, comprise controller, also comprise: be connected with described controller, be used for the pulse signal that the received signal generation device provides, pulse signals is carried out the filtering isolation processing, and the signal shaping after will handling exports the signal processing module of described controller to, described signal processing module has the first input end and second input, comprises optocoupler, first resistance, second resistance, the 3rd resistance, the 4th resistance, first electric capacity, power supply and trigger; Wherein:
The anode of the luminous tube of optocoupler links to each other with described first input end by first resistance, and negative electrode links to each other with described second input by second resistance, and the collector electrode of optical coupling secondary edges links to each other the grounded emitter of secondary by the 3rd resistance with power supply;
The 4th resistance and first electric capacity are connected in parallel between the anode and negative electrode of described optocoupler luminous tube;
The input of trigger connects the collector electrode of described optical coupling secondary edges and the tie point of the 3rd resistance, and output connects the signal input part of controller.
Preferably, described signal processing module also comprises the 5th resistance and second electric capacity, wherein:
Described the 5th resistance is connected between the input of the tie point of the collector electrode of described optical coupling secondary edges and the 3rd resistance and trigger;
Described second electric capacity, one end connects the tie point of the input of described the 5th resistance and described trigger, an end ground connection.
Use technique scheme, the 4th resistance and first electric capacity are formed filter circuit, and the pulse signal that receives is carried out Filtering Processing.Further, the optocoupler pulse signals is carried out isolation processing, prevents that effectively the interference signal in the pulse signal from entering trigger, guarantees the correct pulse signal of trigger output, and then improves the stability of motor and control system.
Embodiment
An embodiment
The inventor finds through practice repeatedly, and when having interference signal in the pulse signal of any one input input of difference channel in the existing motion control card, the pulse signal mistake of difference channel output has reduced the stability of motor and control system.
In order to address the above problem, the utility model embodiment provides a kind of signal processing module that is applied to motion control card, by the interference signal in the light-coupled isolation pulse signal, guarantee the pulse signal that output is correct, and then improve the stability of motor and control system.
Below in conjunction with the accompanying drawing among the utility model embodiment, the technical scheme among the utility model embodiment is clearly and completely described, obviously, described embodiment only is the utility model part embodiment, rather than whole embodiment.Based on the embodiment in the utility model, those of ordinary skills belong to protection range of the present utility model not making the every other embodiment that is obtained under the creative work prerequisite.
See also Fig. 1, a kind of circuit diagram of the signal processing module that Fig. 1 provides for the utility model embodiment comprises: optocoupler 11, first resistance 12, second resistance 13, the 3rd resistance 14, power supply 15, the 4th resistance 16, first electric capacity 17, first input end 18, second input 19 and trigger 20.Wherein:
The anode of the luminous tube of optocoupler 11 links to each other with first input end 18 by first resistance 12, and negative electrode links to each other with second input 19 by second resistance 13, and the collector electrode of the secondary of optocoupler 11 links to each other the grounded emitter of secondary by the 3rd resistance 14 with power supply 15.Power supply 15 is common sources of components and parts in the signal processing module, and the shared same power supply of components and parts can be saved circuit board space, reduces the circuit board volume.
The 4th resistance 16 and first electric capacity 17 are connected in parallel between the anode and negative electrode of optocoupler 11 luminous tubes.The input of trigger 20 connects the collector electrode of optocoupler 11 secondary and the tie point of the 3rd resistance 14, and output connects the signal input part of controller.
The 4th resistance 16 and first electric capacity 17 are formed filter circuits, are used for the interference signal of the pulse signal that the filtered signal processing module receives.Because the 4th resistance 16 and first electric capacity 17 are formed filter circuit can not be with the whole filterings of the interference signal in the pulse signal, so optocoupler 11 pulse signals once more carries out isolation processing, interference signal in the pulse signal is isolated, the pulse signal that is delivered to trigger 20 inputs with assurance is correct, and then guarantees that the pulse signal of trigger 20 outputs is correct.
Signal generation device in the control system can have first output and second output, and first output can provide amplitude identical with second output simultaneously, the pulse signal that phase place is opposite.When signal generation device had first output and second output, the motion control card first input end 18 that the utility model embodiment provides linked to each other with first output, and second input 19 links to each other with second output.The signal that first output and second output provide is delivered to the anode and the negative electrode of optocoupler 1 luminous tube respectively by first resistance 2 and second resistance 3, the signal that this moment, optocoupler 1 received is a differential signal.
Signal generation device in the control system can also have a signal output part, for motion control card provides one road pulse signal.When signal generation device provided one road pulse signal, the first input end 18 of signal processing module linked to each other with signal output part, second input, 19 ground connection.When signal generation device provided one road pulse signal, second input 19 of signal processing module can link to each other with the signal output part of signal generation device, and this moment, first input end 19 connect power supply.Need to prove: when second input, 19 ground connection, the ground end is the ground end of signal generation device, and when first input end 18 connect power supply, this power supply was the power supply of signal generation device.
The operation principle of above-mentioned signal processing module is:
The pulse signal that signal processing module received signal generation device provides, pulse signal produces pressure reduction by first resistance 12, second resistance 13, the 4th resistance 16 and first electric capacity 17, pressure reduction is by first resistance 12 and second resistance 13, be added in the anode and the negative electrode of the luminous tube of optocoupler 11, the luminous tube of optocoupler 11 produces electric current, and luminous tube is lighted.When the electric current of the luminous tube of flowing through reaches optocoupler 11 conducting current ranges, optocoupler 11 conductings, the collector electrode output low level of optocoupler 11 secondary, otherwise, the output high level.Signal processing module is by the conducting of optocoupler 11 with by the corresponding pulse signal of pulse signal that provides with signal generation device is provided.Pulse signal enters trigger 20 once more, carries out shaping by trigger 20, the controller of the pulse signal behind the output Shaping to the motion control card.
Among the utility model embodiment, the value of first resistance 12, second resistance 13, the 4th resistance 16 and first electric capacity 17 is determined according to the practical application scene, and value will guarantee that optocoupler 11 can normally.The filter circuit that the 4th resistance 16 and first electric capacity 17 are formed can filtering interference signals, does not destroy the integrality of pulse signal simultaneously.The value of optocoupler 11 is chosen according to pulse signal frequency.
Use technique scheme, the 4th resistance 16 and first electric capacity 17 are formed filter circuit, and pulse signals is carried out Filtering Processing.Further, optocoupler 11 pulse signals are carried out isolation processing, prevent that effectively the interference signal in the pulse signal from entering trigger 20, guarantee the correct pulse signal of trigger 20 outputs, and then improve the stability of motor and control system.
Another embodiment
Above-mentioned signal processing module can improve the stability of motor and control system, yet, because in the signal processing module during circuit design, may exist influences the circuit of pulse signal interference signal, the circuit interference signal is applied to device 20 outputs of shaping simultaneously that are triggered in the pulse signal, and then cause the pulse signal of trigger 20 outputs wrong, further reduced the stability of motor and control system.
For the influence of filtering circuit interference signal pulse signals, the utility model embodiment has increased the 5th resistance 21 and second electric capacity 22 on the circuit diagram basis of signal processing module shown in Figure 1, and circuit diagram as shown in Figure 2.Wherein:
The 5th resistance 21 is connected collector electrode and the tie point of the 3rd resistance 14 and the input of trigger 20 of optocoupler 11 secondary.Second electric capacity, 22 1 ends connect the tie point of the input of the 5th resistance 21 and trigger 20, an end ground connection.
The 5th resistance 21 and second electric capacity 22 are formed low-pass filter circuit, the circuit interference signal that adds in the filtering pulse signal, the pulse signal that assurance is input in the trigger 20 is correct, and then the pulse signal of trigger 20 shapings output is correct, to improve the stability of motor and control system.
The value of the 5th resistance 21 and second electric capacity 22 must be guaranteed the integrality of pulse signal again when guaranteeing the filtering circuit interference signal.Why the 5th resistance 21 and second electric capacity 22 are formed low-pass filter circuits, are because pulse signal is a low frequency signal, if the 5th resistance 21 and second electric capacity 22 are formed high pass or bandwidth-limited circuits, then can't obtain pulse signal.
Above-mentioned trigger 20 can be Schmidt trigger, can also select for use other trigger to carry out shaping certainly, and this is not limited.
Use technique scheme, in the interference signal in filtering and isolation pulse signal, the low-pass filter circuit that the 5th resistance 21 and second electric capacity 22 are formed, further filtering circuit interference signal, guarantee the correct pulse signal of trigger 20 outputs, further improved the stability of motor and control system.
Another embodiment
See also Fig. 3, the structural representation of the motion control card that Fig. 3 provides for the utility model embodiment comprises: controller 1 and the signal processing module 2 that is connected with controller 1.Wherein:
Motion control card 2 is used for the pulse signal that the receiving control system signal generation device provides, and pulse signals is carried out the filtering isolation processing, and the output of the signal shaping after will handling.The signal of controller 1 received signal processing module 2 outputs, basis signal control machine operation.
The circuit diagram of above-mentioned signal processing module 2 is identical with the circuit diagram of signal processing module shown in Figure 1, as shown in Figure 3, signal processing module 2 has the first input end 18 and second input 19, comprising: optocoupler 11, first resistance 12, second resistance 13, the 3rd resistance 14, power supply 15, the 4th resistance 16, first electric capacity 17 and trigger 20.Wherein:
The anode of the luminous tube of optocoupler 11 links to each other with first input end 18 by first resistance 12, and negative electrode links to each other with second input 19 by second resistance 13, and the collector electrode of the secondary of optocoupler 11 links to each other the grounded emitter of secondary by the 3rd resistance 14 with power supply 15.Power supply 15 is common sources of components and parts in the signal processing module 2, and the shared same power supply of components and parts can be saved circuit board space, reduces the circuit board volume.
The 4th resistance 16 and first electric capacity 17 are connected in parallel between the anode and negative electrode of optocoupler 11 luminous tubes.The input of trigger 20 connects the collector electrode of optocoupler 11 secondary and the tie point of the 3rd resistance 14, and output connects the signal input part of controller.
The 4th resistance 16 and first electric capacity 17 are formed filter circuits, are used for the interference signal of the pulse signal that filtered signal processing module 2 receives.Because the 4th resistance 16 and first electric capacity 17 are formed filter circuit can not be with the whole filterings of the interference signal in the pulse signal, so optocoupler 11 pulse signals once more carries out isolation processing, interference signal in the pulse signal is isolated, the pulse signal that is delivered to trigger 20 inputs with assurance is correct, and then guarantees that the pulse signal of trigger 20 outputs is correct.
Signal generation device in the control system can have first output and second output, and first output can provide amplitude identical with second output simultaneously, the pulse signal that phase place is opposite.When signal generation device had first output and second output, the motion control card first input end 18 that the utility model embodiment provides linked to each other with first output, and second input 19 links to each other with second output.The signal that first output and second output provide is delivered to the anode and the negative electrode of optocoupler 1 luminous tube respectively by first resistance 2 and second resistance 3, the signal that this moment, optocoupler 1 received is a differential signal.
Signal generation device in the control system can also have a signal output part, for motion control card provides one road pulse signal.When signal generation device provided one road pulse signal, first input end 18 linked to each other with signal output part in the motion control card, second input, 19 ground connection.When signal generation device provided one road pulse signal, second input 19 of motion control card can link to each other with the signal output part of signal generation device, and this moment, first input end 19 connect power supply.Need to prove: when second input, 19 ground connection, the ground end is the ground end of signal generation device, and when first input end 18 connect power supply, this power supply was the power supply of signal generation device.
The operation principle of above-mentioned motion control card is:
Signal generation device provides pulse signal to signal processing module 2, pulse signal produces pressure reduction by first resistance 12, second resistance 13, the 4th resistance 16 and first electric capacity 17, pressure reduction is by first resistance 12 and second resistance 13, be added in the anode and the negative electrode of the luminous tube of optocoupler 11, the luminous tube of optocoupler 11 produces electric current, and luminous tube is lighted.When the electric current of the luminous tube of flowing through reaches optocoupler 11 conducting current ranges, optocoupler 11 conductings, the collector electrode output low level of optocoupler 11 secondary, otherwise, the output high level.Signal processing module 2 is by the conducting of optocoupler 11 with by the corresponding pulse signal of pulse signal that provides with signal generation device is provided.Pulse signal enters trigger 20 once more, carries out shaping by trigger 20, and the pulse signal behind the output Shaping is to controller 1.The work of the signal control motor of controller 1 basis signal processing module 2 outputs.
Among the utility model embodiment, the value of first resistance 12, second resistance 13, the 4th resistance 16 and first electric capacity 17 is determined according to the practical application scene, and value will guarantee that optocoupler 11 can normally.The filter circuit that the 4th resistance 16 and first electric capacity 17 are formed can filtering interference signals, does not destroy the integrality of pulse signal simultaneously.The value of optocoupler 11 is chosen according to pulse signal frequency.
Use technique scheme, the 4th resistance 16 and first electric capacity 17 are formed filter circuit, and pulse signals is carried out Filtering Processing.Further, optocoupler 11 pulse signals are carried out isolation processing, prevent that effectively the interference signal in the pulse signal from entering trigger 20, guarantee the correct pulse signal of trigger 20 outputs, and then improve the stability of motor and control system.
Above-mentioned motion control card can improve the stability of motor and control system, yet, because in the motion control card during circuit design, may exist influences the circuit of pulse signal interference signal, the circuit interference signal is applied to device 20 outputs of shaping simultaneously that are triggered in the pulse signal, and then cause the pulse signal of trigger 20 outputs wrong, further reduced the stability of motor and control system.
For the influence of filtering circuit interference signal pulse signals, the motion control card that the utility model embodiment provides can increase the 5th resistance 21 and second electric capacity 22 on structural representation basis shown in Figure 3, as shown in Figure 4.
The 5th resistance 21 is identical with the annexation of other components and parts with second electric capacity 22 in the annexation of above-mentioned the 5th resistance 21 and second electric capacity 22 and other components and parts and the signal processing module shown in Figure 2.The 5th resistance 21 is connected collector electrode and the tie point of the 3rd resistance 14 and the input of trigger 20 of optocoupler 11 secondary.Second electric capacity, 22 1 ends connect the tie point of the input of the 5th resistance 21 and trigger 20, an end ground connection.
The 5th resistance 21 and second electric capacity 22 are formed low-pass filter circuit, the circuit interference signal that adds in the filtering pulse signal, the pulse signal that assurance is input in the trigger 20 is correct, and then the pulse signal of trigger 20 shapings output is correct, to improve the stability of motor and control system.
The value of the 5th resistance 21 and second electric capacity 22 must be guaranteed the integrality of pulse signal again when guaranteeing that filtering circuit disturbs.Why the 5th resistance 21 and second electric capacity 22 are formed low-pass filter circuits, are because pulse signal is a low frequency signal, if the 5th resistance 21 and second electric capacity 22 are formed high pass or bandwidth-limited circuits, then can't obtain pulse signal.
Above-mentioned trigger 20 can be Schmidt trigger, can also select for use other trigger to carry out shaping certainly, and this is not limited.
Use technique scheme, in the interference signal in filtering and isolation pulse signal, the low-pass filter circuit that the 5th resistance 21 and second electric capacity 22 are formed, further filtering circuit interference signal, guarantee the correct pulse signal of trigger 20 outputs, further improved the stability of motor and control system.
To the above-mentioned explanation of the disclosed embodiments, make this area professional and technical personnel can realize or use the utility model.Multiple modification to these embodiment is conspicuous to those skilled in the art, and defined herein General Principle can realize under the situation that does not break away from spirit or scope of the present utility model in other embodiments.Therefore, the utility model will can not be restricted to these embodiment shown in this article, but will meet and principle disclosed herein and the corresponding to wide region of features of novelty.