CN102410868B - Batching controller and ingredient control method thereof - Google Patents

Batching controller and ingredient control method thereof Download PDF

Info

Publication number
CN102410868B
CN102410868B CN201110214886.6A CN201110214886A CN102410868B CN 102410868 B CN102410868 B CN 102410868B CN 201110214886 A CN201110214886 A CN 201110214886A CN 102410868 B CN102410868 B CN 102410868B
Authority
CN
China
Prior art keywords
signal
communication module
circuit
instantaneous weight
temperature
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN201110214886.6A
Other languages
Chinese (zh)
Other versions
CN102410868A (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.)
Ludong University
Original Assignee
Ludong University
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 Ludong University filed Critical Ludong University
Priority to CN201110214886.6A priority Critical patent/CN102410868B/en
Publication of CN102410868A publication Critical patent/CN102410868A/en
Application granted granted Critical
Publication of CN102410868B publication Critical patent/CN102410868B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Feedback Control In General (AREA)

Abstract

本发明公开了一种配料控制器及其配料控制方法,该配料控制器包括传感器输入端子、消除干扰信号的滤波电路、放大电路、内置有测温模块并能根据外接温度对配料控制器进行温度补偿的MCU、显示驱动电路、光耦及驱动电路、键盘电路等。由于进行了温度补偿和抗干扰滤波处理,该配料控制器降低了其对外界温度变化的敏感性,其抗干扰能力亦得到了提高,从而整体提升了整个配料控制器的稳定性和可靠性。

The invention discloses a batching controller and a batching control method thereof. The batching controller includes a sensor input terminal, a filter circuit for eliminating interference signals, an amplifying circuit, a built-in temperature measuring module, and can monitor the temperature of the batching controller according to the external temperature. Compensated MCU, display drive circuit, optocoupler and drive circuit, keyboard circuit, etc. Due to the temperature compensation and anti-interference filtering processing, the batching controller reduces its sensitivity to external temperature changes, and its anti-interference ability is also improved, thereby improving the stability and reliability of the entire batching controller as a whole.

Description

配料控制器及其配料控制方法Batching controller and batching control method thereof

技术领域 technical field

本发明涉及一种称重计量仪表,尤其涉及一种配料控制器及其配料控制方法。The invention relates to a weighing meter, in particular to a batching controller and a batching control method thereof.

背景技术 Background technique

在食品加工、烟草加工、化工产品加工、饲料加工等工业生产过程中,一些散装物料的配料需要称重测量配料控制。目前的配料系统一般包括物料斗,其上设有若干个用于不同物料投放的投料口,每种物料的投料口都设有粗投口和细头口,物料斗下方设有重量传感器,还包括用于物料投放控制的配料控制器。使用时,将配料控制器与重量传感器和每种物料的投料口控制阀相连,通过配料控制器设置好待配料中每种物料(假设有三种物料)的总投放量、每种物料的粗投阈值以及所有物料的投放顺序,然后同时启动第一种物料的粗投头口和细头投口进行投料,此后配料控制器判断重量传感器传回的瞬时重量信号是否达到第一种物料的粗投阈值,如果达到则关闭其粗投头口,然后判断重量传感器传回的瞬时重量信号是否达到第一种物料的总投放量,如果达到则关闭其细头投口,从而完成第一种物料的投放,依此类推,根据投放顺序进行第二种物料和第三种物料的投放,此后,配料控制器发送卸料信号至物料斗,使其进行物料自动卸载,从而完成一次物料配料过程。专利号为03143256.5的中国专利也公开一种连续自动配料机及其配料控制方法,其是通过PLC加步进电机构成的散料自动控制系统。然而该连续自动配料机对外界温度敏感、抗干扰能力差。In industrial production processes such as food processing, tobacco processing, chemical product processing, feed processing, etc., the batching of some bulk materials needs to be weighed and measured for batching control. The current batching system generally includes a material hopper, which is provided with several feeding ports for feeding different materials. The feeding port of each material is provided with a coarse feeding port and a fine nozzle, and a weight sensor is provided under the material hopper. Includes ingredient controller for material release control. When in use, connect the batching controller with the weight sensor and the control valve of the feeding port of each material, and set the total feeding amount of each material (assuming there are three kinds of materials) in the batching and the rough feeding of each material through the batching controller. Threshold value and the feeding order of all materials, and then simultaneously start the coarse feeding port and the fine feeding port of the first material for feeding, and then the batching controller judges whether the instantaneous weight signal returned by the weight sensor reaches the rough feeding of the first material. If it reaches the threshold, close its coarse nozzle, and then judge whether the instantaneous weight signal returned by the weight sensor reaches the total amount of the first material, if it reaches, close its fine nozzle, so as to complete the first material. Putting in, and so on, according to the order of putting in the second material and the third material, after that, the batching controller sends a discharge signal to the material hopper to make it unload the material automatically, thus completing a material batching process. The Chinese patent that the patent No. is 03143256.5 also discloses a kind of continuous automatic batching machine and batching control method thereof, and it is the bulk material automatic control system formed by PLC plus stepper motor. However, the continuous automatic batching machine is sensitive to external temperature and has poor anti-interference ability.

发明内容 Contents of the invention

本发明的目的在于提供一种性能稳定可靠的配料控制器及其配料控制方法。The object of the present invention is to provide a batching controller with stable and reliable performance and a batching control method thereof.

为达到上述目的,本发明一方面提供了一种配料控制器,包括:To achieve the above object, the present invention provides a batching controller on the one hand, comprising:

传感器输入端子,用于接收重量传感器输出的瞬时重量信号;The sensor input terminal is used to receive the instantaneous weight signal output by the weight sensor;

滤波电路,用于滤除所述瞬时重量信号中的高频干扰;A filter circuit, used to filter out the high-frequency interference in the instantaneous weight signal;

放大电路,用于将所述滤波电路处理后的瞬时重量信号进行放大;an amplification circuit, used to amplify the instantaneous weight signal processed by the filter circuit;

MCU,预存有待配料中每种物料的总投放量、每种物料的粗投阈值、以及所有物料的投放顺序,用于在投放过程中获取所述瞬时重量信号和所述MCU内置的测温模块输出的当前外界温度信号,根据内置的AD转换模块将所述瞬时重量信号和所述外界温度信号转变成对应的数字信号,在对数字化后的瞬时重量信号进行滑动平均滤波后,根据数字化后的外界温度信号对滑动平均滤波后的瞬时重量信号进行温度补偿,对温度补偿后的瞬时重量信号进行累加计算,并根据当前累加重量、对应物料的粗投阈值、对应物料的总投放量和投放顺序进行投放控制;MCU, which pre-stores the total amount of each material in the batching, the rough input threshold of each material, and the input sequence of all materials, and is used to obtain the instantaneous weight signal and the built-in temperature measurement module of the MCU during the input process. For the current external temperature signal output, the instantaneous weight signal and the external temperature signal are converted into corresponding digital signals according to the built-in AD conversion module. After performing sliding average filtering on the digitized instantaneous weight signal, according to the digitized The external temperature signal performs temperature compensation on the instantaneous weight signal after sliding average filtering, accumulates and calculates the instantaneous weight signal after temperature compensation, and based on the current accumulated weight, the rough input threshold of the corresponding material, the total input amount of the corresponding material, and the input sequence carry out delivery control;

显示驱动电路,用于实时将所述MCU计算出的累加重量发送至数码管显示;A display drive circuit, used to send the accumulated weight calculated by the MCU to the digital tube display in real time;

光耦及驱动电路,用于将所述MCU输出的控制信号进行抗干扰隔离后驱动输出;An optocoupler and a drive circuit, used for anti-interference isolation of the control signal output by the MCU and then driving the output;

键盘电路,用于设置仪表参数,所述仪表参数包括待配料中每种物料的总投放量、每种物料的粗投阈值、以及所有物料的投放顺序。The keyboard circuit is used to set the instrument parameters, and the instrument parameters include the total amount of each material in the batching, the rough input threshold of each material, and the input sequence of all materials.

本发明的配料控制器,所述根据数字化后的外界温度信号对滑动平均滤波后的瞬时重量信号进行温度补偿,具体包括:In the batching controller of the present invention, the temperature compensation is carried out on the instantaneous weight signal after sliding average filtering according to the digitized external temperature signal, which specifically includes:

根据公式y=y-k*Δt对滑动平均滤波后的瞬时重量信号进行温度补偿,其中,y为瞬时重量,k为温度补偿系数,Δt当前时间。According to the formula y=y-k*Δt, temperature compensation is performed on the instantaneous weight signal after moving average filtering, wherein, y is the instantaneous weight, k is the temperature compensation coefficient, and Δt is the current time.

本发明的配料控制器,还包括:Batching controller of the present invention also includes:

用于所述MCU与上位机通讯的RS232通讯模块和RS485通讯模块,以及用于所述RS232通讯模块和所述RS485通讯模块之间模式切换的通信切换电路,所述通信切换电路分别与所述RS232通讯模块的一端和所述RS485通讯模块的一端相连,并通过串口与所述MCU相连。The RS232 communication module and the RS485 communication module used for the communication between the MCU and the upper computer, and the communication switching circuit used for mode switching between the RS232 communication module and the RS485 communication module, the communication switching circuit is respectively connected to the One end of the RS232 communication module is connected with one end of the RS485 communication module, and is connected with the MCU through a serial port.

本发明的配料控制器,还包括:Batching controller of the present invention also includes:

保护电路,用于对输入或输出所述RS485通讯模块或所述RS485通讯模块的信号进行抗干扰处理,所述保护电路分别与所述RS232通讯模块的另一端和所述RS485通讯模块的另一端相连。A protection circuit for performing anti-interference processing on the input or output signal of the RS485 communication module or the RS485 communication module, the protection circuit is connected to the other end of the RS232 communication module and the other end of the RS485 communication module respectively connected.

本发明的配料控制器,还包括:Batching controller of the present invention also includes:

端子排,其上集成有所述光耦及驱动电路、所述保护电路的输入或输出端子。A terminal block, on which the optocoupler, the drive circuit, and the input or output terminal of the protection circuit are integrated.

再一方面,本发明还提供了一种上述配料控制器的配料控制方法包括以下步骤:In yet another aspect, the present invention also provides a batching control method of the above batching controller comprising the following steps:

同时打开待配料中第一种物料的粗投口和细投口进行所述第一种物料的投放;Simultaneously open the coarse throw and the fine throw of the first material in the batching to carry out the dropping of the first kind of material;

在投放过程中获取重量传感器输出的瞬时重量信号和所述MCU内置的测温模块输出的当前外界温度信号;Obtain the instantaneous weight signal output by the weight sensor and the current external temperature signal output by the built-in temperature measurement module of the MCU during the delivery process;

根据内置的AD转换模块将所述瞬时重量信号和所述外界温度信号转变成对应的数字信号;Convert the instantaneous weight signal and the external temperature signal into corresponding digital signals according to the built-in AD conversion module;

在对数字化后的瞬时重量信号进行滑动平均滤波后,根据数字化后的外界温度信号对滑动平均滤波后的瞬时重量信号进行温度补偿;After performing sliding average filtering on the digitized instantaneous weight signal, temperature compensation is performed on the sliding average filtered instantaneous weight signal according to the digitized external temperature signal;

对温度补偿后的瞬时重量信号进行累加计算,并判断当前累加重量是否达到所述第一种物料的粗投阈值,如果达到,则关闭所述第一种物料的粗投口;Accumulating the instantaneous weight signal after temperature compensation, and judging whether the current accumulated weight reaches the rough feeding threshold of the first material, and if so, closing the rough feeding port of the first material;

判断当前累加重量是否达到所述第一种物料的总投放量,如果达到,则关闭所述第一种物料的细投口;Judging whether the current accumulative weight has reached the total amount of the first material, if so, closing the fine feeding port of the first material;

根据投放顺序并依照上述方式进行所述待配料中其他物料的投放。According to the delivery sequence and in accordance with the above-mentioned method, the delivery of other materials in the ingredients to be prepared is performed.

本发明的配料控制方法,所述根据数字化后的外界温度信号对滑动平均滤波后的瞬时重量信号进行温度补偿,具体包括:In the batching control method of the present invention, the temperature compensation is carried out on the instantaneous weight signal after the sliding average filtering according to the digitized external temperature signal, which specifically includes:

根据公式y=y-k*Δt对滑动平均滤波后的瞬时重量信号进行温度补偿,其中,y为瞬时重量,k为温度补偿系数,Δt当前时间。According to the formula y=y-k*Δt, temperature compensation is performed on the instantaneous weight signal after moving average filtering, wherein, y is the instantaneous weight, k is the temperature compensation coefficient, and Δt is the current time.

本发明的配料控制方法,所述配料控制器还包括:In the batching control method of the present invention, the batching controller also includes:

用于所述MCU与上位机通讯的RS232通讯模块和RS485通讯模块,以及用于所述RS232通讯模块和所述RS485通讯模块之间模式切换的通信切换电路,所述通信切换电路分别与所述RS232通讯模块的一端和所述RS485通讯模块的一端相连,并通过串口与所述MCU相连。The RS232 communication module and the RS485 communication module used for the communication between the MCU and the upper computer, and the communication switching circuit used for mode switching between the RS232 communication module and the RS485 communication module, the communication switching circuit is respectively connected to the One end of the RS232 communication module is connected with one end of the RS485 communication module, and is connected with the MCU through a serial port.

本发明的配料控制方法,所述配料控制器还包括:In the batching control method of the present invention, the batching controller also includes:

保护电路,用于对输入或输出所述RS485通讯模块或所述RS485通讯模块的信号进行抗干扰处理,所述保护电路分别与所述RS232通讯模块的另一端和所述RS485通讯模块的另一端相连。A protection circuit for performing anti-interference processing on the input or output signal of the RS485 communication module or the RS485 communication module, the protection circuit is connected to the other end of the RS232 communication module and the other end of the RS485 communication module respectively connected.

本发明的配料控制方法,所述配料控制器还包括:In the batching control method of the present invention, the batching controller also includes:

端子排,其上集成有所述光耦及驱动电路、所述保护电路的输入或输出端子。A terminal block, on which the optocoupler, the drive circuit, and the input or output terminal of the protection circuit are integrated.

本发明的配料控制器包括用于滤除重量传感器输出的瞬时重量信号中的高频干扰的滤波电路,并且MCU内预存有待配料中每种物料的总投放量、每种物料的粗投阈值、以及所有物料的投放顺序,在投放过程中MCU获取瞬时重量信号和MCU内置的测温模块输出的当前外界温度信号,根据内置的AD转换模块将瞬时重量信号和外界温度信号转变成对应的数字信号,在对数字化后的瞬时重量信号进行滑动平均滤波后,根据数字化后的外界温度信号对滑动平均滤波后的瞬时重量信号进行温度补偿,对温度补偿后的瞬时重量信号进行累加计算,并根据当前累加重量、对应物料的粗投阈值、对应物料的总投放量和投放顺序进行投放控制,因此,本发明的配料控制器降低了其对外界温度变化的敏感性,其抗干扰能力亦得到了提高,从而整体提升了整个配料控制器的稳定性和可靠性。The batching controller of the present invention includes a filter circuit for filtering out the high-frequency interference in the instantaneous weight signal output by the weight sensor, and the total dosage of each material in the batching, the rough throwing threshold of each material, and the MCU are pre-stored in the MCU. And the delivery sequence of all materials. During the delivery process, the MCU obtains the instantaneous weight signal and the current external temperature signal output by the built-in temperature measurement module of the MCU, and converts the instantaneous weight signal and the external temperature signal into corresponding digital signals according to the built-in AD conversion module. , after performing sliding average filtering on the digitized instantaneous weight signal, temperature compensation is performed on the instantaneous weight signal after the sliding average filtering according to the digitized external temperature signal, and the instantaneous weight signal after temperature compensation is accumulated and calculated, and according to the current The accumulative weight, the rough input threshold of the corresponding materials, the total input amount of the corresponding materials and the input sequence are used for input control. Therefore, the batching controller of the present invention reduces its sensitivity to external temperature changes, and its anti-interference ability has also been improved. , thereby improving the stability and reliability of the entire batching controller as a whole.

附图说明 Description of drawings

图1为本发明一个实施例的配料控制器的电路框图;Fig. 1 is the circuit block diagram of the batching controller of an embodiment of the present invention;

图2为图1中配料控制器的MCU部分的电路原理图;Fig. 2 is the schematic circuit diagram of the MCU part of the batching controller in Fig. 1;

图3为图1中配料控制器的传感器接线端子及滤波电路部分的电路原理图;Fig. 3 is the circuit schematic diagram of the sensor connection terminal and filter circuit part of the batching controller in Fig. 1;

图4为图1中配料控制器的放大电路部分的电路原理图;Fig. 4 is the schematic circuit diagram of the amplifying circuit part of the batching controller in Fig. 1;

图5为图1中配料控制器的键盘电路部分的电路原理图;Fig. 5 is the schematic circuit diagram of the keyboard circuit part of the batching controller in Fig. 1;

图6为图1中配料控制器的显示驱动电路部分的电路原理图;Fig. 6 is the schematic circuit diagram of the display drive circuit part of the batching controller in Fig. 1;

图7为图1中配料控制器的通信切换电路及保护电路部分的电路原理图;Fig. 7 is the schematic circuit diagram of the communication switching circuit and the protection circuit part of the batching controller in Fig. 1;

图8为图1中配料控制器的RS485通讯模块及RS232通讯模块部分的电路原理图;Fig. 8 is the schematic circuit diagram of the RS485 communication module and the RS232 communication module part of the batching controller in Fig. 1;

图9为图1中配料控制器的光耦及驱动电路部分的电路原理图;Fig. 9 is a circuit schematic diagram of the optocoupler and the drive circuit part of the batching controller in Fig. 1;

图10为图1中配料控制器的端子排部分的接口结构示意图;Fig. 10 is a schematic diagram of the interface structure of the terminal block of the batching controller in Fig. 1;

图11为图1中配料控制器的电源电路部分的电路原理图。Fig. 11 is a schematic circuit diagram of the power circuit part of the batching controller in Fig. 1 .

具体实施方式 detailed description

下面结合附图对本发明的具体实施方式进行详细描述:The specific embodiment of the present invention is described in detail below in conjunction with accompanying drawing:

参考图1所示,本实施例的配料控制器包括传感器输入端子、滤波电路、放大电路、MCU、显示驱动电路、光耦及驱动电路、键盘电路、RS232通讯模块、RS485通讯模块、通信切换电路、保护电路、端子排和电源电路等。其中,传感器输入端子用于接收重量传感器输出的瞬时重量信号。滤波电路用于滤除瞬时重量信号中的高频干扰。放大电路用于将滤波电路处理后的瞬时重量信号进行放大。MCU预存有待配料中每种物料的总投放量、每种物料的粗投阈值、以及所有物料的投放顺序,用于在投放过程中获取瞬时重量信号和MCU内置的测温模块输出的当前外界温度信号,根据内置的AD转换模块将瞬时重量信号和外界温度信号转变成对应的数字信号,在对数字化后的瞬时重量信号进行滑动平均滤波后,根据数字化后的外界温度信号对滑动平均滤波后的瞬时重量信号进行温度补偿,对温度补偿后的瞬时重量信号进行累加计算,并根据当前累加重量、对应物料的粗投阈值、对应物料的总投放量和投放顺序进行投放控制。显示驱动电路用于实时将MCU计算出的累加重量发送至数码管显示。光耦及驱动电路用于将MCU输出的控制信号进行抗干扰隔离后驱动输出。键盘电路用于设置仪表参数,如待配料中每种物料的总投放量、每种物料的粗投阈值、以及所有物料的投放顺序等。而电源电路用于向设备供电。Referring to Fig. 1, the batching controller of this embodiment includes sensor input terminals, filter circuit, amplifier circuit, MCU, display drive circuit, optocoupler and drive circuit, keyboard circuit, RS232 communication module, RS485 communication module, communication switching circuit , protection circuit, terminal block and power circuit, etc. Wherein, the sensor input terminal is used to receive the instantaneous weight signal output by the weight sensor. The filter circuit is used to filter out the high-frequency interference in the instantaneous weight signal. The amplifying circuit is used to amplify the instantaneous weight signal processed by the filter circuit. The MCU pre-stores the total delivery amount of each material in the batching, the rough input threshold of each material, and the delivery sequence of all materials, which are used to obtain the instantaneous weight signal and the current external temperature output by the built-in temperature measurement module of the MCU during the delivery process. Signal, according to the built-in AD conversion module, the instantaneous weight signal and the external temperature signal are converted into corresponding digital signals. The instantaneous weight signal is temperature compensated, and the instantaneous weight signal after temperature compensation is accumulated and calculated, and the feeding control is performed according to the current accumulated weight, the rough feeding threshold of the corresponding material, the total feeding amount of the corresponding material, and the feeding sequence. The display driving circuit is used to send the accumulated weight calculated by the MCU to the digital tube display in real time. The optocoupler and the drive circuit are used to isolate the control signal output by the MCU for anti-interference and then drive the output. The keyboard circuit is used to set the parameters of the instrument, such as the total input amount of each material in the batching, the rough input threshold of each material, and the input sequence of all materials, etc. And the power circuit is used to supply power to the device.

结合图2所示,MCU可以选择型号为AduC847的单片机及其外围电路,其外围电路包括与其相连的型号为74HC245D的驱动芯片。As shown in Figure 2, the MCU can choose the single-chip microcomputer model AduC847 and its peripheral circuit, and its peripheral circuit includes a driver chip model 74HC245D connected to it.

结合图3所示,传感器输入端子第2、第3端子与滤波电路的输入端相连。传感器输入端子第6端子与滤波电路的ST端相连。滤波电路的SN-端和SN+端分别对应与上述单片机的第7和第8管脚相连。As shown in FIG. 3 , the second and third terminals of the sensor input terminal are connected to the input end of the filter circuit. The sixth terminal of the sensor input terminal is connected to the ST terminal of the filter circuit. The SN- terminal and SN+ terminal of the filter circuit are respectively connected to the 7th and 8th pins of the above-mentioned single-chip microcomputer.

结合图4所示,放大电路可以选择型号为AD8552的放大芯片及其外围电路,其中,该放大芯片的第3、第5管脚分别对应与滤波电路的+INA、+INB输出端相连。而该放大电路的SIG+、SIG-端子分别对应与上述单片机的第9和第10管脚相连。As shown in Figure 4, the amplifier circuit can choose the AD8552 amplifier chip and its peripheral circuits, wherein the third and fifth pins of the amplifier chip are respectively connected to the +INA and +INB output terminals of the filter circuit. The SIG+ and SIG- terminals of the amplifying circuit are respectively connected to the 9th and 10th pins of the above-mentioned single chip microcomputer.

结合图5所示,键盘电路的四个按键SW1、SW2、SW3和SW4分别与上述单片机的第52~第49管脚相连。As shown in FIG. 5 , the four keys SW1 , SW2 , SW3 and SW4 of the keyboard circuit are respectively connected to the 52nd to 49th pins of the above-mentioned single-chip microcomputer.

结合图6所示,显示驱动电路可以选择两个型号为Max7219的集成化的串行输入/输出共阴极显示驱动器U2和U3,显示驱动器U2的第1、第13和第12管脚分别对应与上述单片机的第22、第23和第24管脚相连。显示驱动器U3的第1、第13和第12管脚分别对应与上述单片机的第22、第23和第25管脚相连。As shown in Figure 6, the display drive circuit can choose two integrated serial input/output common-cathode display drivers U2 and U3 whose model is Max7219, and the 1st, 13th and 12th pins of the display driver U2 correspond to the The 22nd, 23rd and 24th pins of the above-mentioned single-chip microcomputer are connected. The 1st, 13th and 12th pins of the display driver U3 are respectively connected to the 22nd, 23rd and 25th pins of the single-chip microcomputer.

结合图8所示,RS232通讯模块包括型号为MAX232芯片及其外围电路,RS485通讯模块包括型号为MAX485芯片及其外围电路,其中,MAX232芯片的第11管脚和MAX485芯片的第4管脚分别与选择开关SW7的两个选择端对应相连,选择开关SW7的公共端与上述单片机的第17管脚相连。MAX232芯片的第12管脚和MAX485芯片的第1管脚分别与选择开关SW8的两个选择端对应相连,选择开关SW8的公共端与上述单片机的第16管脚相连。As shown in Figure 8, the RS232 communication module includes a MAX232 chip and its peripheral circuits, and the RS485 communication module includes a MAX485 chip and its peripheral circuits, wherein the 11th pin of the MAX232 chip and the 4th pin of the MAX485 chip are respectively Correspondingly connected to the two selection terminals of the selection switch SW7, the common terminal of the selection switch SW7 is connected to the 17th pin of the above-mentioned single chip microcomputer. The 12th pin of the MAX232 chip and the 1st pin of the MAX485 chip are respectively connected to the two selection terminals of the selection switch SW8 correspondingly, and the common terminal of the selection switch SW8 is connected to the 16th pin of the above-mentioned single-chip microcomputer.

结合图7所示,选择开关SW5与电阻L1之间、选择开关SW6与电阻L2之间分别接有一个由TVS二极管和电容并联构成的保护电路,用于保护通信芯片及MCU不受外部突发干扰伤害。其中,选择开关SW5的两个选择端分别对应与RS485通讯模块的JL+端子以及MAX232芯片的第14管脚相连,选择开关SW6的两个选择端分别对应与RS485通讯模块的JL-端子以及MAX232芯片的第13管脚相连。As shown in Figure 7, between the selection switch SW5 and the resistor L1, and between the selection switch SW6 and the resistor L2, there is a protection circuit composed of a TVS diode and a capacitor connected in parallel to protect the communication chip and MCU from external bursts. Interference damage. Among them, the two selection terminals of the selection switch SW5 are respectively connected to the JL+ terminal of the RS485 communication module and the 14th pin of the MAX232 chip, and the two selection terminals of the selection switch SW6 are respectively corresponding to the JL- terminal of the RS485 communication module and the MAX232 chip The 13th pin is connected.

结合图9所示,光耦及驱动电路包括两个型号为TLP521-4的光耦芯片U7a和光耦芯片U7b及其外围电路,以及两个型号为ULN2003的达林顿管U12a和达林顿管U12b及其外围电路。其中,光耦芯片U7a的第2、第4、第6和第8管脚分别对应与上述型号为74HC245D的驱动芯片的第11、第18、第17和第16管脚相连,该光耦芯片U7a的第13、第11、第9和第15管脚分别对应与达林顿管U12a的第1~第3管脚以及达林顿管U12b的第1管脚相连。光耦芯片U7b的第2、第4、第6和第8管脚分别对应与上述型号为74HC245D的驱动芯片的第15、第14、第13和第12管脚相连,该光耦芯片U7b的第15、第13、第11和第9管脚分别对应与达林顿管U12a的第4~第7管脚相连。As shown in Figure 9, the optocoupler and its drive circuit include two optocoupler chips U7a and U7b of the model TLP521-4 and their peripheral circuits, as well as two Darlington tubes U12a and Darlington tubes of the model ULN2003 U12b and its peripheral circuits. Among them, the 2nd, 4th, 6th, and 8th pins of the optocoupler chip U7a are respectively connected to the 11th, 18th, 17th, and 16th pins of the driver chip whose model is 74HC245D. The 13th, 11th, 9th and 15th pins of U7a are respectively connected to the first to third pins of the Darlington tube U12a and the first pin of the Darlington tube U12b. The 2nd, 4th, 6th and 8th pins of the optocoupler chip U7b are respectively connected to the 15th, 14th, 13th and 12th pins of the driver chip whose model is 74HC245D. The 15th, 13th, 11th and 9th pins are respectively connected to the 4th to 7th pins of the Darlington tube U12a.

结合图10所示,端子排的POW、OUT1、OUT2、OUT3、OUT4、OUT5、OUT6、OUT7、OUT8、COM1为输出接口接外部24V电源和作用控制继电器线圈预留口。TXD、RXD和SG为485和232通信接口。EA、SIG-、SIG+、E-、E+为传感器线接口。ST和COM2为1路I/O输入信号接口,用于启动配料控制器。L、PE和L为AC220V电源接口。As shown in Figure 10, POW, OUT1, OUT2, OUT3, OUT4, OUT5, OUT6, OUT7, OUT8, and COM1 of the terminal block are reserved ports for the output interface to connect to the external 24V power supply and the function control relay coil. TXD, RXD and SG are 485 and 232 communication interfaces. EA, SIG-, SIG+, E-, E+ are sensor line interfaces. ST and COM2 are 1-way I/O input signal interface, used to start the batching controller. L, PE and L are AC220V power ports.

结合图11所示,电源电路主要由滤波器、变压器、桥式整流电路、滤波电路和若干稳压电路等构成,从而为配料控制器提供+12V、+5V等所需电源。As shown in Figure 11, the power circuit is mainly composed of filters, transformers, bridge rectifier circuits, filter circuits and several voltage regulator circuits, so as to provide +12V, +5V and other required power for the batching controller.

上述配料控制器的工作过程如下:The working process of the above batching controller is as follows:

1)、在设置好参数后启动配料过程。1) Start the batching process after setting the parameters.

2)、同时打开待配料中第一种物料的粗投口和细投口进行第一种物料的投放。2) Simultaneously open the coarse and fine inlets of the first material in the batching to put in the first material.

3)、在投放过程中获取重量传感器输出的瞬时重量信号和MCU内置的测温模块输出的当前外界温度信号。3) Obtain the instantaneous weight signal output by the weight sensor and the current external temperature signal output by the built-in temperature measurement module of the MCU during the delivery process.

4)、根据内置的AD转换模块将瞬时重量信号和外界温度信号转变成对应的数字信号。4) Convert the instantaneous weight signal and external temperature signal into corresponding digital signals according to the built-in AD conversion module.

5)、在对数字化后的瞬时重量信号进行滑动平均滤波后,根据数字化后的外界温度信号对滑动平均滤波后的瞬时重量信号进行温度补偿。具体可以根据公式y=y-k*Δt对滑动平均滤波后的瞬时重量信号进行温度补偿,其中,y为瞬时重量,k为温度补偿系数(可根据大量实验得出),Δt当前时间。5) After performing sliding average filtering on the digitized instantaneous weight signal, temperature compensation is performed on the sliding average filtered instantaneous weight signal according to the digitized external temperature signal. Specifically, temperature compensation can be performed on the instantaneous weight signal after sliding average filtering according to the formula y=y-k*Δt, wherein y is the instantaneous weight, k is the temperature compensation coefficient (obtainable according to a large number of experiments), and Δt is the current time.

6)、对温度补偿后的瞬时重量信号进行累加计算,并判断当前累加重量是否达到第一种物料的粗投阈值,如果达到,则关闭第一种物料的粗投口。6) Accumulate the instantaneous weight signal after temperature compensation, and judge whether the current accumulated weight reaches the rough feeding threshold of the first material, and if so, close the rough feeding port of the first material.

7)、判断当前累加重量是否达到第一种物料的总投放量,如果达到,则关闭第一种物料的细投口。7) Judging whether the current cumulative weight reaches the total feeding amount of the first material, if so, close the fine feeding port of the first material.

8)、根据投放顺序并依照上述方式进行待配料中其他物料的投放。8) According to the order of delivery and in accordance with the above method, the delivery of other materials in the ingredients to be prepared is carried out.

9)、输出卸料信号至物料斗,使其卸料,完成一次配料过程。9) Output the unloading signal to the material hopper to make it unload and complete a batching process.

本发明的配料控制器特别适合于混凝土搅拌及沥青混合料设备的配料控制过程,同时也适用于转炉以及化工、饲料等需要配料控制的场合。The batching controller of the present invention is especially suitable for the batching control process of concrete mixing and asphalt mixing equipment, and is also suitable for occasions requiring batching control such as converters, chemical industry, and feed.

以上的实施例仅仅是对本发明的优选实施方式进行描述,并非对本发明的范围进行限定,在不脱离本发明设计精神的前提下,本领域普通工程技术人员对本发明的技术方案作出的各种变形和改进,均应落入本发明的权利要求书确定的保护范围内。The above embodiment is only a description of the preferred implementation of the present invention, and is not intended to limit the scope of the present invention. On the premise of not departing from the design spirit of the present invention, ordinary engineers and technicians in the field can make various modifications to the technical solution of the present invention. and improvements, all should fall within the scope of protection determined by the claims of the present invention.

Claims (10)

1. a batching controller, it is characterised in that include:
Sensor input, for receiving the instantaneous weight signal of weight sensor output;
Filter circuit, for filtering the High-frequency Interference in described instantaneous weight signal;
Amplifying circuit, is amplified for the instantaneous weight signal after processing described filter circuit;
MCU, prestoring needs total injected volume of every kind of material in dispensing, the thick of every kind of material and throws threshold value, Yi Jisuo There is the release sequence of material, be used in launch process, obtain described instantaneous weight signal and described MCU is built-in Temperature measurement module output current outside temperature signal, according to built-in AD conversion module by described instantaneous weight Signal and described ambient temperature signal are transformed into corresponding data signal, the instantaneous weight letter after to digitlization After number carrying out moving average filter, according to the ambient temperature signal after digitlization to the wink after moving average filter When weight signal carry out temperature-compensating, accumulation calculating, and root are carried out to the instantaneous weight signal after temperature-compensating Carry out according to thick threshold value, total injected volume of corresponding material and the release sequence of throwing of current accumulator weight, corresponding material Throw in control;
Display driver circuit, shows to charactron for the accumulator weight transmission calculating described MCU in real time Show;
Optocoupler and drive circuit, for carrying out anti-interference isolation rear drive by the control signal of described MCU output Output;
Keyboard circuit, is used for arranging meter parameter, and described meter parameter includes treating the total of every kind of material in dispensing Injected volume, the thick release sequence throwing threshold value and all materials of every kind of material.
2. batching controller according to claim 1, it is characterised in that described according to digitlization after Ambient temperature signal carries out temperature-compensating to the instantaneous weight signal after moving average filter, specifically includes:
According to formula y=y-k* Δ t, temperature-compensating is carried out to the instantaneous weight signal after moving average filter, its In, y is instantaneous weight, and k is temperature compensation coefficient, Δ t current time.
3. batching controller according to claim 2, it is characterised in that also include:
It for RS232 communication module and the RS485 communication module of described MCU and upper machine communication, and is used for The communication switching circuit of the inter mode switching of described RS232 communication module and described RS485 communication module, described The communication switching circuit one end phase with one end of described RS232 communication module and described RS485 communication module respectively Even, it and is connected with described MCU by serial ports.
4. batching controller according to claim 3, it is characterised in that also include:
Protection circuit, for carrying out anti-interference place to the signal inputting or exporting described RS485 communication module Reason, described protection circuit respectively with the other end of described RS232 communication module and described RS485 communication module The other end is connected.
5. batching controller according to claim 4, it is characterised in that also include:
Terminal block, it is integrated with described optocoupler and drive circuit, the input of described protection circuit or output Son.
6. the ingredient control method of batching controller described in a claim 1, it is characterised in that include with Lower step:
Open simultaneously and treat that in dispensing, the thick of the first material is thrown mouth and carefully throw the throwing that mouth carries out the first material described Put;
The instantaneous weight signal of weight sensor output and the thermometric that described MCU is built-in is obtained in launch process The current outside temperature signal of module output;
It is right to be transformed into described instantaneous weight signal and described ambient temperature signal according to built-in AD conversion module The data signal answered;
After instantaneous weight signal after to digitlization carries out moving average filter, according to the external world after digitlization Temperature signal carries out temperature-compensating to the instantaneous weight signal after moving average filter;
Accumulation calculating is carried out to the instantaneous weight signal after temperature-compensating, and judges whether current accumulator weight reaches Thick to the first material described throws threshold value, if reached, then closes the thick of the first material described and throws mouth;
Judging whether current accumulator weight reaches total injected volume of the first material described, if reached, then closing Close the thin of the first material described and throw mouth;
According to release sequence and according to aforesaid way carry out described in treat the input of unclassified stores in dispensing.
7. ingredient control method according to claim 6, it is characterised in that described according to digitlization after Ambient temperature signal temperature-compensating is carried out to the instantaneous weight signal after moving average filter, specifically include:
According to formula y=y-k* Δ t, temperature-compensating is carried out to the instantaneous weight signal after moving average filter, its In, y is instantaneous weight, and k is temperature compensation coefficient, Δ t current time.
8. ingredient control method according to claim 6, it is characterised in that described batching controller is also Including:
RS232 communication module and RS485 communication module, Yi Jiyong for described MCU and upper machine communication In the communication switching circuit of the inter mode switching of described RS232 communication module and described RS485 communication module, institute State communication switching circuit one end with one end of described RS232 communication module and described RS485 communication module respectively It is connected, and be connected with described MCU by serial ports.
9. ingredient control method according to claim 8, it is characterised in that described batching controller is also Including:
Protection circuit, for carrying out anti-interference place to the signal inputting or exporting described RS485 communication module Reason, described protection circuit respectively with the other end of described RS232 communication module and described RS485 communication module The other end is connected.
10. ingredient control method according to claim 9, it is characterised in that described batching controller is also Including:
Terminal block, it is integrated with described optocoupler and drive circuit, the input of described protection circuit or output Son.
CN201110214886.6A 2011-07-29 2011-07-29 Batching controller and ingredient control method thereof Expired - Fee Related CN102410868B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110214886.6A CN102410868B (en) 2011-07-29 2011-07-29 Batching controller and ingredient control method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110214886.6A CN102410868B (en) 2011-07-29 2011-07-29 Batching controller and ingredient control method thereof

Publications (2)

Publication Number Publication Date
CN102410868A CN102410868A (en) 2012-04-11
CN102410868B true CN102410868B (en) 2016-10-05

Family

ID=45913077

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110214886.6A Expired - Fee Related CN102410868B (en) 2011-07-29 2011-07-29 Batching controller and ingredient control method thereof

Country Status (1)

Country Link
CN (1) CN102410868B (en)

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102929238B (en) * 2012-10-26 2016-03-16 重庆集慧电子科技有限公司 Intelligence batching monitoring system
CN103915051B (en) * 2012-12-29 2017-05-24 北京谊安医疗系统股份有限公司 Method for controlling display of nixie tube
CN103616065B (en) * 2013-11-08 2015-10-28 太原市风行测控技术有限公司 A kind of batching control system
CN103922155B (en) * 2014-04-17 2016-01-20 王凤堂 Omnidistance control one material one scale dispensing equipment and distribution thereof
CN104313312B (en) * 2014-10-13 2017-07-18 首钢总公司 A kind of control method for pellet dispensing
CN106292555B (en) * 2015-05-18 2018-11-02 梅特勒-托利多(常州)测量技术有限公司 For packing, filling or dispensing control system and method
CN105091950B (en) * 2015-09-22 2017-11-07 巫占海 Temperature, thing position integrative detection instrument
CN106215796A (en) * 2016-07-29 2016-12-14 太仓市璜泾新海农机专业合作社 A kind of intelligence control system of forage compounding machine
CN108375409A (en) * 2018-02-24 2018-08-07 浙江中控技术股份有限公司 A kind of flow control method, server and system of feeding intake of weighing of material
CN110657873B (en) * 2018-06-29 2024-05-24 福建南方路面机械股份有限公司 Automatic weighing and proportioning device and using method thereof
CN109203210A (en) * 2018-09-30 2019-01-15 中国水利水电科学研究院 High-strength environmental protection brick production system auxiliary ingredients device for ecological sponge urban construction
CN110702194B (en) * 2019-07-29 2024-08-23 辽宁维森信息技术股份有限公司 High-speed weighing controller with automatic compensation function and control method

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2058748U (en) * 1989-08-05 1990-06-27 沈有德 High-accuracy automatic weigher for bulk material
US5801337A (en) * 1996-01-11 1998-09-01 Barnstead/Thermolyne Corporation Method of and apparatus for compensating for load/environment temperature differential-induced measured load weight error
CN201442748U (en) * 2009-06-25 2010-04-28 营口大和衡器有限公司 Dosing machine

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001165601A (en) * 1999-12-09 2001-06-22 Shimadzu Corp Weight measuring device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2058748U (en) * 1989-08-05 1990-06-27 沈有德 High-accuracy automatic weigher for bulk material
US5801337A (en) * 1996-01-11 1998-09-01 Barnstead/Thermolyne Corporation Method of and apparatus for compensating for load/environment temperature differential-induced measured load weight error
CN201442748U (en) * 2009-06-25 2010-04-28 营口大和衡器有限公司 Dosing machine

Also Published As

Publication number Publication date
CN102410868A (en) 2012-04-11

Similar Documents

Publication Publication Date Title
CN102410868B (en) Batching controller and ingredient control method thereof
CN102305659B (en) Continuous weight metering instrument and weight continuous metering method thereof
CN204846543U (en) Automatic quantitative package system of seed
CN109282884A (en) A kind of intelligence batching weighing control system and its control method
CN208326551U (en) A kind of quota of feed batching weighing transmission device
CN107678274A (en) Frequency converter and its dosing control method for belt conveyer scale
CN101746512A (en) Quantitative automatic weighing control device
CN101554753A (en) Cement supply online calibration system of stable soil plant mix equipment
CN207263282U (en) The control system of amorphous refractory automatic blending production line
CN205247144U (en) Pitch mix equipment batching control system based on singlechip
CN205412908U (en) Stone mill material automatic blending system
CN200939664Y (en) Weighting senser information acquisition device for agitating station
CN106846822A (en) Concrete delivery truck management system and method
CN107570692B (en) A kind of casting technique time data analysis method and its monitoring system of application
CN203392005U (en) Novel formula material automatic weighing system
CN211091238U (en) Intelligent controller for feed intake of beef cattle
CN110702194B (en) High-speed weighing controller with automatic compensation function and control method
CN201888228U (en) Feed additive raw material adding control system
CN204078926U (en) Convenient multiple-effect based on rice mill controls feeding-discharging mechanism automatically
CN211554772U (en) Weighing type dropwise add control instrument
CN209512958U (en) A kind of flow integrator
CN103616065B (en) A kind of batching control system
CN104807525A (en) High-precision weightlessness scale
CN208848786U (en) Intelligent control breaker
CN202412471U (en) Computer type automatic burdening and managing system for producing aerated concrete blocks

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20161005

Termination date: 20170729

CF01 Termination of patent right due to non-payment of annual fee