The utility model content
In view of the above-mentioned problems in the prior art, fundamental purpose of the present utility model is to address the deficiencies of the prior art, and a kind of automation-control experiment module of saving time in classroom is provided.
A kind of automation-control experiment module, it is characterized in that, described automation-control experiment module comprises that one has the motor driver of a direct current motor and a motor-drive circuit, one from experiment porch reception ratio, integration, the differential controlled variable also provides the power output end of control voltage for described motor-drive circuit according to the parameter that receives, one from described experiment porch received pulse bandwidth modulation signals and the pulse width modulating signal output terminal of pulse width modulation control signal is provided for described motor-drive circuit according to the dutycycle of the pulse width modulating signal that receives, described motor driver is according to the pulse signal of the described dc motor speed of described control voltage and pulse width modulation control signal output representative, and described motor-drive circuit comprises that one exports described pulse signal the pulse signal output end of described experiment porch to.
According to of the present utility model and technical conceive, described automation-control experiment module comprises that also a peripherals that connects described experiment porch connects slot.
According to of the present utility model and technical conceive, described automation-control experiment module comprises that also power supply ground end and a pulse width modulating signal ground holds.
According to of the present utility model and technical conceive, described motor-drive circuit comprises that also one connects the control signal input ground end that described power supply ground end or pulse width modulating signal ground are held.
According to of the present utility model and technical conceive, described motor driver also comprises the photoelectric sensor of the described pulse signal of an output.
According to of the present utility model and technical conceive, described motor-drive circuit comprises that also one receives the signal input end of described control voltage or pulse width modulation control signal.
According to of the present utility model and technical conceive, described motor-drive circuit comprises that also one connects external power source incoming end, two protective tubes and two power lights of external power source.
The beneficial effects of the utility model are: the utility model is integrated in motor driver in the automation-control experiment module in advance, and replace traditional bread board to connect NI ELVIS experiment porch, but plug and play, the time that the experimenter need not to cost a lot of money is built experimental circuit, and the experimenter can make full use of time in classroom and finish experiment and understand experiment content.
Embodiment
The utility model is described in further detail below in conjunction with the accompanying drawings and the specific embodiments.
Please refer to Fig. 1, the utility model automation-control experiment module 1 is used to connect a NI ELVIS experiment porch 2, described NI ELVIS experiment porch 2 is gathered the signal of described automation-control experiment module 1, and sends the signal that collects to a computing machine 3 and show.Described computing machine 3 comprises a signal gathering unit 31, a parameter regulation unit 32 and a signal imitation unit 33.
The signal output part that the signal gathering unit 31 and of described computing machine 3 is located at the described NIELVIS experiment porch 2 on the described base 20 links to each other, be used to receive the signal of described automation-control experiment module output, described signal gathering unit 31 is USB interface or IEEE 1394 interfaces.
Described parameter regulation unit 32 is by a signal imitation operation interface signalization acquisition parameter, for example, enable passage, triggering mode, sampling rate etc., in the present embodiment, can described signals collecting parameter be set in described signal imitation operation interface by input equipments such as computer keyboard, mouses.
Described signal imitation unit 33 produces the waveform of described automation-control experiment module output signal by the interior software of establishing, and the waveform that produces is presented on the screen of described computing machine 3.
Please continue with reference to figure 2 and Fig. 3, described automation-control experiment module 1 is removably mounted on the base 20 of described NI ELVIS experiment porch 2, during concrete operations, traditional experiment bread board can be taken off from the base 20 of described NI ELVIS experiment porch 2, again described automation-control experiment module 1 is fixed on the described base on 20, the better embodiment of described automation-control experiment module 1 comprises a motor driver 10, one photoelectric sensor 11, one power output end 12, one power supply ground end 13, one pulse-length modulation (Pulse Width Modulation, PWM) signal output part 14, one pwm signal ground end 15, an and PCI (Peripheral Component Interconnect, peripherals connects) slot 17, when described automation-control experiment module 1 was fixed on the described base 20, its PCI slot 17 just contacted with golden finger on the described base 20.Described motor driver 10 comprises a direct current motor located therein, a photoelectric sensor 11 and a motor-drive circuit, and described motor-drive circuit is integrated in the described motor driver 10, is used to control the rotating speed of described direct current generator.
Load has the disk 18 of a band groove in the rotating shaft of described direct current generator, when described direct current generator drives described disk 18 and rotates to a certain position, the groove of described disk is relative with the groove of described photoelectric sensor 11, the correlation light that described photoelectric sensor 11 is produced passes through the groove of described disk 18 and photoelectric sensor 11, therefore, when described direct current generator drives described disk 18 and rotates, just described correlation light is cut, photoelectric sensor 11 produces pulse signal by the break-make that detects correlation light, by measuring the frequency of described pulse signal, just can measure the rotating speed of described direct current generator.
Described motor-drive circuit comprises that two protective tubes 41,42, provide external power source incoming end 43, one+12V power light 44, one-12V power light 45, a signal input end 46, a control signal input ground end 47 and a pulse signal output end 48 of operating voltage for described direct current generator.When described external power source incoming end 43 inserts external power sources, described+12V power light 44, one-12V power light 45 is bright.Described pulse signal output end 48 is connected to described NI ELVIS experiment porch 2, described pulse signal output end 48 is as the output terminal of described automation-control experiment module 1, the pulse signal that described photoelectric sensor 11 is produced is sent to described NI ELVIS experiment porch 2, and described pulse signal is represented the rotating speed of described direct current generator.
Described power output end 12 can be by described NI ELVIS platform 2 reception ratios, integration, differential controlled variable, and provides a control voltage according to the parameter that receives for described direct current generator.The value of described ratio, integration, differential controlled variable can be provided with in the signal imitation operation interface of described computing machine 3.When carrying out the experiment content of PID control motor speed, described external power source incoming end 43 connects an external power source, by lead described signal input end 46 is linked to each other with described power output end 12, described control signal input ground end 47 links to each other with described power supply ground end 13, in described signal imitation operation interface, select the PID method of operation, setting enables signals collecting parameters such as passage, the rotating speed of target of direct current generator and pid parameter (are promptly controlled the scale parameter of dc motor speed, integral parameter and differential parameter) after just can begin to gather the pulse signal that described photoelectric sensor 11 produces, described computing machine 3 receives described pulse signal and shows the waveform of described pulse signal, and the experimenter can obtain the rotating speed of described direct current generator by shown waveform.In described signal imitation operation interface, different pid parameters is set,, further analyzes the influence of pid parameter described dc motor speed to change the waveform of described pulse signal.
Described pwm signal output terminal 14 is used to described motor-drive circuit that the pwm signal of one default dutycycle is provided, described pwm signal is to be produced by a counter of described NI ELVIS experiment porch 2, the dutycycle of described pwm signal can be provided with in the signal imitation operation interface of described computing machine 3, and is sent to described pwm signal output terminal 14 by described NI ELVIS platform 2.When carrying out the experiment content of PWM control motor speed, described external power source incoming end 43 inserts external power source, by lead described signal input end 46 is linked to each other with described pwm signal output terminal 14, described control signal input ground end 47 links to each other with described pwm signal ground end 15, in described signal imitation operation interface, select the PWM method of operation, setting enables signals collecting parameters such as passage, just can begin to gather the pulse signal that described photoelectric sensor 11 produces after the rotating speed of target of direct current generator and the dutycycle of pwm signal, described computing machine 3 receives described pulse signal and shows the waveform of described pulse signal.The dutycycle of different pwm signals is set in described signal imitation operation interface,, further analyzes the dutycycle of pwm signal and the relation between the described dc motor speed to change the waveform of described pulse signal.
The utility model is integrated in motor driver in the automation-control experiment module in advance, and replace traditional bread board to connect NI ELVIS experiment porch, but plug and play, the time that the experimenter need not to cost a lot of money is built experimental circuit, can be on computers signalization acquisition parameter, controlled variable (as dutycycle of pid parameter, pwm signal etc.) quickly and accurately, and directly by described computing machine display waveform, the experimenter can make full use of time in classroom and finish experiment and understand experiment content.