Temperature controller circuit
By employing multiple temperature acquisition and display control circuits, the problem of low accuracy caused by the single temperature detection method of the temperature controller is solved, achieving stable temperature information acquisition and external device control, and supporting multiple communication interfaces.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-30
- Publication Date
- 2026-03-27
AI Technical Summary
Existing temperature controllers use a single method for temperature detection, resulting in low data accuracy and unstable circuit operation.
It employs a main control circuit, key circuit, communication circuit, temperature acquisition circuit, analog output circuit, relay output circuit, and digital tube LED control circuit, combined with DS18B20 acquisition circuit, NTC resistor acquisition circuit, K-type thermocouple acquisition circuit, and PT100 acquisition circuit to realize the acquisition and display of various temperature information.
It improves the accuracy and stability of temperature detection, ensures the accuracy of temperature information acquisition, achieves stable temperature control, and controls the power or signal on/off of external devices through digital tube display and LED indicator, and supports communication functions of different communication interfaces.
Smart Images

Figure CN224052580U_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The utility model relates to temperature controller technical field, concretely is a temperature controller circuit. BACKGROUND
[0002] Temperature controller refers to according to the temperature variation of working environment, the physical deformation of switch inside occurs, thereby produces certain special effect, produces the series of automatic control element of on or off action, also called temperature control switch, temperature protector, temperature controller, is called temperature controller simply.Or is through temperature protector and is sent to temperature controller to temperature, and temperature controller sends switch command, thereby controls the operation of equipment to reach the ideal temperature and energy-saving effect, but the temperature detection mode of existing temperature controller is single, therefore needs to improve detection precision, and shows it and accurate control. CONTENT OF UTILITY MODEL
[0003] One of the technical problems solved by the present application is that the single temperature detection mode leads to low data accuracy and unstable line operation, therefore a temperature controller circuit is proposed.
[0004] To solve the above technical problems, the present application provides a temperature controller circuit, which comprises a main control circuit, a key circuit, a power supply circuit, a communication circuit, a temperature acquisition circuit, an analog output circuit, a relay output circuit and a digital tube LED control circuit, the output end of the key circuit is electrically connected with the key circuit, the communication circuit is interconnected with the main control circuit, the output end of the main control circuit is electrically connected with the signal receiving end of the main control, the analog output circuit, the relay output circuit and the digital tube LED control circuit are all connected with the signal output end of the analog output circuit, the relay output circuit and the digital tube LED control circuit, and the output end of the power supply circuit is electrically connected with the power supply end of the main control circuit.
[0005] Preferably, the main control circuit comprises a main control chip U12, capacitors C26-C30, the main control chip U12 is STM32F030C8T6, the capacitors C26, C27, C28, C29 and C30 are connected in series and the input end is connected to the pin 9 of the main control chip U12, the pin 5 and 6 of the main control chip U12 are connected with a crystal oscillator circuit, the crystal oscillator circuit comprises a crystal oscillator Y1, a capacitor C32 and a capacitor C33, the input end of the crystal oscillator Y1 is connected to the input end of the capacitor C32 and connected to the pin 5 of the control chip U12, the output end of the capacitor C32 is grounded, the output end of the crystal oscillator Y1 is connected to the output end of the capacitor C33 and connected to the pin 6 of the control chip U12, and the output end of the capacitor C33 is grounded; the pin 25 of the control chip U12 is connected to the output end of the resistor R41 and connected to the input end of the capacitor C41, the output end of the capacitor C41 is grounded, and the input end of the resistor R41 is connected to a 3.3V input; the pin 26 of the control chip U12 is connected to the output end of the resistor R42 and connected to the input end of the capacitor C42, the output end of the capacitor C42 is grounded, and the input end of the resistor R42 is connected to a 3.3V input; the pin 27 of the control chip U12 is connected to the output end of the resistor R43 and connected to the input end of the capacitor C43, the output end of the capacitor C43 is grounded, and the input end of the resistor R43 is connected to a 3.3V input; the pin 28 of the control chip U12 is connected to the output end of the resistor R44 and connected to the input end of the capacitor C44, the output end of the capacitor C44 is grounded, and the input end of the resistor R44 is connected to a 3.3V input.
[0006] Preferably, the key circuit comprises key switches KY1, KY2, KY3 and KY4, the key switch KY1 is connected in series between the resistor R41 and the capacitor C41, the key switch KY2 is connected in series between the resistor R42 and the capacitor C42, the key switch KY3 is connected in series between the resistor R43 and the capacitor C43, and the key switch KY4 is connected in series between the resistor R44 and the capacitor C44.
[0007] Preferably, the communication circuit comprises RS485 communication and CAN communication circuit, the RS485 communication comprises transient voltage suppression diodes TVS1 and TVS2, a transistor Q2 and an RS485 transceiver chip U11, the input end of the transient voltage suppression diode TVS1 is connected to the pin 6 of the RS485 transceiver chip U11, and the input end of the transient voltage suppression diode TVS2 is connected to the pin 5 of the RS485 transceiver chip U11; the CAN communication circuit adopts a CAN transceiver chip U16, the pin 1 of the CAN transceiver chip U16 is connected to the pin 33 of the main control chip U12, and the pin 4 of the CAN transceiver chip U16 is connected to the pin 32 of the main control chip U12.
[0008] Preferably, the temperature acquisition circuit comprises a DS18B20 acquisition circuit, an NTC resistance acquisition circuit, a K-type thermocouple acquisition circuit and a PT100 acquisition circuit, the DS18B20 acquisition circuit comprises transient voltage suppression diodes TVS5, transient voltage suppression diodes TVS6 and a digital temperature sensor DS18B20, a 3V3 power supply is grounded through the transient voltage suppression diode TVS5, the digital temperature sensor DS18B20 is grounded after being connected in series with a capacitor C91, and is connected to a 3.3V power supply input after being connected in series with a pull-up resistor R92; the NTC resistance acquisition circuit comprises resistors R803, R804, R602, capacitors C403, C404 and C502, a 3V3 power supply is connected to the input terminals of the resistors R803 and R602, the output terminal of the resistor R803 is grounded after being connected in series with the capacitor C403, the output terminal of the resistor R602 is grounded after being connected in series with the resistor R804 and the capacitor C404 in sequence, and is connected to the input terminal of the capacitor C502, and the output terminal of the capacitor C502 is connected back to the input terminal of the resistor R602; the K-type thermocouple acquisition circuit comprises an operational amplifier U101A, resistors R701, R1101, capacitors C1201, C1101, a thyristor Q201, a zener diode D201 and a zener diode D101, the output terminal of the operational amplifier U101A is connected to the 14th pin of the main control chip U12 after being connected in series with the resistor R1101, and is connected to the input terminal of the capacitor C1101, and the output terminal of the capacitor C1101 is grounded; the output terminal of the resistor R1101 is connected to the output terminal of the resistor R701, and the input terminal of the resistor R701 is connected to a 3V3V power supply input, the base of the thyristor Q201 is connected to the 29th pin of the main control chip U12 after being connected in series with a resistor R1701, and the collector of the thyristor Q201 is connected to the 3rd pin of the operational amplifier U101A; the input terminal of the zener diode D201 is connected to the output terminal of the zener diode D101, and then connected to the 3rd pin of the operational amplifier U101A, and the output terminal of the zener diode D201 is connected to the input terminal of the zener diode D101, and then connected to the 2nd pin of the operational amplifier U101A; the PT100 acquisition circuit comprises an operational amplifier U101B, resistors R1302, R1102, capacitors C302 and C1302, the 5th pin of the operational amplifier U101B is connected to a PT100 sensor input and a 3V3 power supply input after being connected in series with the resistor R202 and the resistor R102 in sequence, the 5th pin and the 6th pin of the operational amplifier U101B are connected in parallel with the capacitor C302, the 6th pin of the operational amplifier U101B is connected to the input terminal of the resistor R1302 and the input terminal of the resistor R1402, the output terminal of the resistor R1402 is connected to the output terminal of the resistor R1302 after being connected in series with the capacitor C1302, and then connected to the 7th pin of the operational amplifier U101B, and the 7th pin of the operational amplifier U101B is connected to the 15th pin of the main control chip U12 after being connected in series with the resistor R1102.
[0009] Preferably, the analog output circuit comprises an inverter U1302, an operational amplifier U1201A, an operational amplifier U1201B, an operational amplifier U1201C, an operational amplifier U1201D, and a transistor Q1201, the pin 2 of the inverter U1302 is connected to the pin 19 of the main control chip U12, the pin 4 of the inverter U1302 is connected to the pin 3 of the operational amplifier U1201A and the pin 12 of the operational amplifier U1201D in sequence through the resistor R1902 and the resistor R2002, the pin 14 of the operational amplifier U1201D is connected to the pin 10 of the operational amplifier U1201C through the resistor R2302, and the pin 8 of the operational amplifier U1201C is connected to the ground through the transient voltage suppression diode TVS5; the pin 1 of the operational amplifier U1201A is connected to the pin 5 of the operational amplifier U1201B through the resistor R1301, the pin 7 of the operational amplifier U1201B is connected to the base of the transistor Q1201 through the resistor R1901, the collector of the transistor Q1201 is connected to the 12V power input, and the emitter of the transistor Q1201 is connected to the output terminal of the SSR+ / AO+ through the resistor R1701 and the input terminal of the resistor R2.
[0010] Preferably, the relay output circuit comprises a relay JK1, a transistor Q201, a diode D2, a resistor R3, a resistor R4, and a resistor R2, the input terminal of the resistor R3 is connected to the pin 19 of the main control chip U12, the output terminal of the resistor R3 is connected to the base of the transistor Q201 and the input terminal of the resistor R4, the output terminal of the resistor R4 is connected to the emitter of the transistor Q201 and the ground, the collector of the transistor Q201 is connected to the input terminal of the diode D2 and the pin 1 of the relay JK1, and the output terminal of the diode D2 is connected to the input terminal of the resistor R2 and the pin 2 of the relay JK1 and the +5V input.
[0011] Preferably, the number of LED control circuit including nixie tube DS1, nixie tube DS2, driving chip U3, LED lamp D1-LED lamp D6, nixie tube DS1 and nixie tube DS2 are connected on driving chip U3, the 7 pin of driving chip U3 is connected to the output end of resistance R1502, the 8 pin of driving chip U3 is connected to the output end of resistance R1602, the input end of resistance R1502 is connected to the input end of resistance R1602 and then connected to 5V power input, the output end of resistance R1502 is connected to the input end of capacitor C1402, the output end of resistance R1602 is connected to the input end of capacitor C1802, the output end of capacitor C1402 is connected to the output end of capacitor C1802 and then connected to ground, the input end of LED lamp D1 is connected to the 11 pin of nixie tube DS1 and the 11 pin of nixie tube DS2, the input end of LED lamp D2 is connected to the 7 pin of nixie tube DS1 and the 7 pin of nixie tube DS2, the input end of LED lamp D3 is connected to the 4 pin of nixie tube DS1 and the 4 pin of nixie tube DS2, the input end of LED lamp D4 is connected to the 2 pin of nixie tube DS1 and the 2 pin of nixie tube DS2, the input end of LED lamp D5 is connected to the 1 pin of nixie tube DS1 and the 1 pin of nixie tube DS2, the input end of LED lamp D6 is connected to the 10 pin of nixie tube DS1 and the 10 pin of nixie tube DS2, the output end of LED lamp D1-LED lamp D6 is connected to the input end of resistance R3, and the output end of resistance R3 is connected to the 26 pin of driving chip U3 of main control chip U12.
[0012] The utility model at least has following beneficial effects: this temperature controller circuit adopts four ways to detect temperature, can guarantee the stability of temperature acquisition work, and multiple temperature information acquisition mode can ensure the accuracy of temperature information acquisition, thereby guarantee the stability of rear end temperature control, the temperature information collected is transmitted to main control circuit after processing, the temperature information collected is transmitted to nixie tube DS1 and nixie tube DS2 of nixie tube LED control circuit and shows, and control LED lamp D1-LED lamp D6 according to instruction light emitting simultaneously, play the indicating effect, main control circuit 1 controls analog output circuit to change the voltage, current and other analog signals of external equipment and the switch state of relay output circuit 7, thereby control the power or signal on-off of external equipment, set up RS485 communication and CAN communication circuit realizes the communication function of different communication interface, transient voltage suppression diode TVS1 and transient voltage suppression diode TVS2 are used for protecting circuit from the influence of transient voltage. BRIEF DESCRIPTION OF DRAWINGS
[0013] Figure 1 It is circuit schematic diagram of the utility model;
[0014] Figure 2 It is main control circuit diagram of the utility model;
[0015] Figure 3 Key circuit diagram of the utility model;
[0016] Figure 4 Power circuit diagram of the utility model;
[0017] Figure 5 RS485 communication diagram of the utility model;
[0018] Figure 6 CAN communication circuit diagram of the utility model;
[0019] Figure 7 DS18B20 acquisition circuit diagram of the utility model;
[0020] Figure 8 NTC resistance acquisition circuit diagram of the utility model;
[0021] Figure 9 K type thermocouple acquisition circuit diagram of the utility model;
[0022] Figure 10 PT100 acquisition circuit diagram of the utility model;
[0023] Figure 11 Analog output circuit diagram of the utility model;
[0024] Figure 12 Relay output circuit diagram of the utility model;
[0025] Figure 13 Digital tube LED control circuit diagram of the utility model.
[0026] Wherein: 1, main control circuit;2, key circuit;3, power circuit;4, communication circuit;5, temperature acquisition circuit;6, analog output circuit;7, relay output circuit;8, digital tube LED control circuit. DETAILED DESCRIPTION
[0027] The technical solutions in the embodiments of the utility model will be clearly and completely described below with reference to the drawings in the embodiments of the utility model. Obviously, the described embodiments are only part of the embodiments of the utility model, rather than all the embodiments. Based on the embodiments in the utility model, all other embodiments obtained by those skilled in the art without creative labor fall within the scope of the utility model
[0028] Please refer to Figures 1-13The utility model provides a technical scheme: a temperature controller circuit, including main control circuit 1, button circuit 2, power supply circuit 3, communication circuit 4, temperature acquisition circuit 5, analog output circuit 6, relay output circuit 7 and nixie tube LED control circuit 8, the output of button circuit 2 is connected with button circuit 2 electrically, communication circuit 4 is interconnected with main control circuit 1, the output of main control circuit 1 is connected with the signal receiving end of main control circuit 1 electrically, analog output circuit 6, relay output circuit 7 and nixie tube LED control circuit 8 all connect in the signal output of analog output circuit 6, relay output circuit 7 and nixie tube LED control circuit 8; the output of power supply circuit 3 is connected with the power end of main control circuit 1 electrically; the temperature controller is a kind of temperature control equipment, button circuit 2 provides user input signal to main control circuit 1, carries out data exchange with external device through communication circuit 4, after main control circuit 1 receives the temperature that temperature acquisition circuit 5 obtains, according to system state or user input signal to control the display of nixie tube DS1, nixie tube DS2, LED lamp D1-LED lamp D6, main control circuit 1 controls analog output circuit 6 to change the voltage, current and other analog signals of external device and the switch state of relay output circuit 7, for controlling the power or signal of external device on-off.
[0029] The main control circuit 1 includes a main control chip U12, a capacitor C26, a capacitor C30, the main control chip U12 is STM32F030C8T6, the capacitor C26, the capacitor C27, the capacitor C28, the capacitor C29 and the capacitor C30 are connected in sequence and the input end is connected to the 9 pin of the main control chip U12, the 5 pin and the 6 pin of the main control chip U12 are provided with a crystal oscillator circuit, the crystal oscillator circuit includes a crystal oscillator Y1, a capacitor C32 and a capacitor C33, the input end of the crystal oscillator Y1 is connected to the input end of the capacitor C32 and connected to the 5 pin of the control chip U12, the output end of the capacitor C32 is grounded, the output end of the crystal oscillator Y1 is connected to the output end of the capacitor C33 and connected to the 6 pin of the control chip U12, and the output end of the capacitor C33 is grounded; the 25 pin of the control chip U12 is connected to the output end of the resistor R41 and connected to the input end of the capacitor C41, the output end of the capacitor C41 is grounded, the input end of the resistor R41 is connected to the 3.3V input; the 26 pin of the control chip U12 is connected to the output end of the resistor R42 and connected to the input end of the capacitor C42, the output end of the capacitor C42 is grounded, the capacitor C41, the capacitor C42, the capacitor C43 and the capacitor C44 connected ensure the stability of the key signal, the input end of the resistor R42 is connected to the 3.3V input; the 27 pin of the control chip U12 is connected to the output end of the resistor R43 and connected to the input end of the capacitor C43, the output end of the capacitor C43 is grounded, the input end of the resistor R43 is connected to the 3.3V input; the 28 pin of the control chip U12 is connected to the output end of the resistor R44 and connected to the input end of the capacitor C44, the output end of the capacitor C44 is grounded, the input end of the resistor R44 is connected to the 3.3V input; the connected crystal oscillator circuit is used for power decoupling to ensure the stability of the power supply.
[0030] The key circuit 2 includes a key switch KY1, a key switch KY2, a key switch KY3 and a key switch KY4, the key switch KY1 is connected between the resistor R41 and the capacitor C41, the key switch KY2 is connected between the resistor R42 and the capacitor C42, the key switch KY3 is connected between the resistor R43 and the capacitor C43, and the key switch KY4 is connected between the resistor R44 and the capacitor C44, when the key is pressed, the switch is closed so that it can be detected from the main control circuit 1, and the instruction or selection operation is input by pressing the key switch KY1, the key switch KY2, the key switch KY3 and the key switch KY4.
[0031] The communication circuit 4 includes RS485 communication and CAN communication circuit, the RS485 communication includes transient voltage suppression diode TVS1, transient voltage suppression diode TVS2, transistor Q2, RS485 transceiver chip U11, the input end of transient voltage suppression diode TVS1 is connected to the 6th of RS485 transceiver chip U11, the input end of transient voltage suppression diode TVS2 is connected to the 5th of RS485 transceiver chip U11;CAN communication circuit uses CAN transceiver chip U16, the 1st of CAN transceiver chip U16 is connected to the 33 of main control chip U12, the 4th of CAN transceiver chip U16 is connected to the 32 of main control chip U12;By setting RS485 communication and CAN communication circuit, the communication function of different communication interfaces is realized, transient voltage suppression diode TVS1 and transient voltage suppression diode TVS2 are used for protecting circuit from the influence of transient voltage, are connected to A line and B line respectively, and overvoltage can be prevented;The transistor Q2 of RS485 communication part is used for signal amplification and control, resistance R12 and resistance R13 are used for current limiting and voltage division, RS485 transceiver chip U11 is used for processing 485 communication, and pin RO, RE, DE, DI, VCC, GND are used for receiving 485_RX, receiving enable, sending enable, sending 485_TX, power supply and ground respectively;CAN communication circuit processes CAN bus communication sending and receiving pin CAN_TX1, CAN_RX1 through CAN transceiver chip U16, and capacitor C35 is used for filtering;The isolated CAN bus passes through the output serial port CAN_TX, CAN_RX of CAN isolation chip U17;Isolation power module U15 is used for providing isolated 5V power supply;485 non-isolated circuit includes resistance R01, resistance R02, resistance R05 and resistance R06, selects CAN non-isolated circuit to reserve resistance R01, resistance R02, resistance R05 and resistance R06, short-circuits 5V and 5V2, short-circuits GND and GND2, short-circuits CANH and CANL of TJA1050 and serial port RX and TX of main control chip U12, and carries out non-isolated serial communication.
[0032] The temperature acquisition circuit 5 includes a DS18B20 acquisition circuit, an NTC resistance acquisition circuit, a K-type thermocouple acquisition circuit and a PT100 acquisition circuit. The DS18B20 acquisition circuit includes a transient voltage suppression diode TVS5, a transient voltage suppression diode TVS6 and a digital temperature sensor DS18B20. The 3V3 power supply is grounded through the transient voltage suppression diode TVS5. The digital temperature sensor DS18B20 is grounded after being connected in series with a capacitor C91, and is connected in series with a pull-up resistor R92 and then connected to a 3.3V power supply input. The connected capacitor C91 is used for filtering to ensure the stability of data transmission. The pull-up resistor R92 is used to ensure that the data pin remains at a high level when it is not driven. The digital temperature sensor DS18B20 can measure the ambient temperature and transmit the temperature data to the host circuit 1 through a One-Wire protocol.
[0033] The NTC resistance acquisition circuit includes a resistor R803, a resistor R804, a resistor R602, a capacitor C403, a capacitor C404 and a capacitor C502. The 3V3 power supply is connected to the input terminals of the resistor R803 and the resistor R602. The output terminal of the resistor R803 is connected in series with the capacitor C403 and then grounded. The output terminal of the resistor R602 is connected in series with the resistor R804 and the capacitor C404 in sequence and then grounded, and is connected to the input terminal of the capacitor C502. The output terminal of the capacitor C502 is connected back to the input terminal of the resistor R602. The capacitor C403, the capacitor C404 and the capacitor C502 are used for filtering to reduce power supply noise and signal interference, and to ensure the accuracy of the voltage value read by the ADC. The resistance value of the NTC resistance changes with temperature, and the change of the resistance is converted into the change of the voltage through the voltage dividing circuit.
[0034] The K-type thermocouple acquisition circuit includes an operational amplifier U101A, a resistor R701, a resistor R1101, a capacitor C1201, a capacitor C1101, a thyristor Q201, a voltage stabilizing diode D201 and a voltage stabilizing diode D101, the output terminal of the operational amplifier U101A is connected to the 14 pin of the main control chip U12 after being connected with the resistor R1101, and is connected to the input terminal of the capacitor C1101, the output terminal of the capacitor C1101 is grounded; the output terminal of the resistor R1101 is connected with the output terminal of the resistor R701, the input terminal of the resistor R701 is connected with the 3V3V power input, the base of the thyristor Q201 is connected to the 29 pin of the main control chip U12 after being connected with the resistor R1701, the collector of the thyristor Q201 is connected to the 3 pin of the operational amplifier U101A; the input terminal of the voltage stabilizing diode D201 is connected with the output terminal of the voltage stabilizing diode D101 and is connected to the 3 pin of the operational amplifier U101A, the output terminal of the voltage stabilizing diode D201 is connected with the input terminal of the voltage stabilizing diode D101 and is connected to the 2 pin of the operational amplifier U101A; the operational amplifier U101A is used for amplifying the weak voltage signal generated by the thermocouple, the resistor R701, the resistor R1101, the capacitor C1201 and the capacitor C1101 are used for setting the gain and stability of the operational amplifier U101A, the input of the operational amplifier U101A is connected to the filtered thermocouple signal, and the output is connected to the subsequent signal processing circuit; the thyristor Q201 is used for controlling some functions or signal paths of the circuit, the voltage stabilizing diode D201 and the voltage stabilizing diode D101 are used for protecting the circuit from high voltage, and the main function of the K-type thermocouple acquisition circuit is to amplify, filter and process the weak voltage signal generated by the K-type thermocouple, and finally obtain a stable temperature signal which can be used for measurement.
[0035] The PT100 acquisition circuit includes operational amplifier U101B, resistor R1302, resistor R1102, capacitor C302 and capacitor C1302, the 5th pin of operational amplifier U101B is connected to the PT100 sensor input in sequence after connecting resistor R202 and resistor R102, and is connected to the 3V3 power supply input, the 5th pin and the 6th pin of operational amplifier U101B are connected to capacitor C302 in parallel, the 6th pin of operational amplifier U101B is connected to the input end of resistor R1302 and the input end of resistor R1402, the output end of resistor R1402 is connected to the output end of resistor R1302 in sequence after connecting capacitor C1302, and is connected to the 7th pin of operational amplifier U101B, the 7th pin of operational amplifier U101B is connected to the 15th pin of the main control chip U12 after connecting resistor R1102 in sequence; the operational amplifier U101B is used for amplifying the voltage signal passing through the voltage dividing network, the input of the operational amplifier U101B is connected to the output of the voltage dividing network, the output is connected to the subsequent signal processing circuit, the resistor R1302, the resistor R1102, the capacitor C302 and the C1302 connected to the operational amplifier U101B are used for setting the gain and stability of the operational amplifier U101B; the signal output after amplification and processing is output from the output end of the operational amplifier U101B and is connected to the ADC3 pin, the main function of the circuit is to convert the resistance change of the PT100 sensor into voltage change, and amplify and process the signal through the operational amplifier U101B, and output the processed temperature signal to the analog-to-digital converter ADC3, so that the main control circuit 1 or other digital devices can read and process.
[0036] Wherein: analog output circuit 6 includes inverter U1302, op-amp U1201A, op-amp U1201B, op-amp U1201C, op-amp U1201D and triode Q1201 op-amp U1201, 2 pin of inverter U1302 connects to 19 pin of main control chip U12, 4 pin of inverter U1302 connects to 3 pin of op-amp U1201A and 12 pin of op-amp U1201D through resistance R1902 and resistance R2002 in turn, 14 pin of op-amp U1201D connects to 10 pin of op-amp U1201C through resistance R2302, 8 pin of op-amp U1201C connects to ground through transient voltage suppression diode TVS5 in turn; 1 pin of op-amp U1201A connects to 5 pin of op-amp U1201B through resistance R1301, 7 pin of op-amp U1201B connects to base of triode Q1201 through resistance R1901, collector of triode Q1201 connects to 12V power input, emitter of triode Q1201 connects to SSR+ / AO+ terminal output through resistance R1701, and connects to input end of resistance R2; wherein capacitor C44 and capacitor C45 filter, 2.5V voltage is outputted through voltage stabilizer, 2 pin of inverter U1302 connects to OUT1_C, 3 pin connects to GND, 5 pin connects to 2.5V voltage, 4 pin connects to SSR+ / AO+ through resistance and capacitor and signal amplification processing of four op-amps, and connects to relay output circuit.
[0037] The relay output circuit comprises a relay JK1, a transistor Q201, a diode D2, a resistor R3, a resistor R4 and a resistor R2, the input end of the resistor R3 is connected to the 19th pin of the main control chip U12, the output end of the resistor R3 is connected to the base of the transistor Q201 and the input end of the resistor R4, the output end of the resistor R4 is connected to the emitter of the transistor Q201 and grounded, the collector of the transistor Q201 is connected to the input end of the diode D2 and the 1st pin of the relay JK1, the output end of the diode D2 is connected to the input end of the resistor R2 and the 2nd pin of the relay JK1 and then connected to the +5V input; the resistor R3 can reduce the loss of the transistor Q201, the resistor R4 can stabilize the voltage at the base of the transistor Q201 to be at a low level and not conductive when the main control chip U12 does not output a signal, the transistor Q201 can be turned on through the pin OUT1_C of the main control chip U12 to connect the right power supply to the power supply ground; when the main control chip U12 controls the BC817-40 to be turned on, the coil is connected to the 5V power supply, the relay JK1 contact is actuated, the relay JK1 is connected from the normally closed end to the normally open end; conversely, the relay JK1 contact is connected from the normally open end to the normally closed end, the positive end of the diode D2 is connected to the output end of the transistor Q201, the negative end is connected to the positive end of the 5V power supply, when the relay JK1 is powered off, the coil generates a reverse voltage to make the diode D2 conductive, the energy is consumed after flowing through the diode D2, and the relay JK1 is protected from being damaged.
[0038] Wherein: the LED control circuit 8 includes the nixie tube DS1, the nixie tube DS2, the driving chip U3, the LED lamp D1-LED lamp D6, the nixie tube DS1 and the nixie tube DS2 are connected to the driving chip U3, the 7 pin of the driving chip U3 is connected to the output end of the resistor R1502, the 8 pin of the driving chip U3 is connected to the output end of the resistor R1602, the input end of the resistor R1502 is connected to the input end of the resistor R1602 and then connected to the 5V power input, the output end of the resistor R1502 is connected to the input end of the capacitor C1402, the output end of the resistor R1602 is connected to the input end of the capacitor C1802, the output end of the capacitor C1402 is connected to the output end of the capacitor C1802 and then connected to the ground; the input end of the LED lamp D1 is connected to the 11 pin of the nixie tube DS1 and the 11 pin of the nixie tube DS2, the input end of the LED lamp D2 is connected to the 7 pin of the nixie tube DS1 and the 7 pin of the nixie tube DS2, the input end of the LED lamp D3 is connected to the 4 pin of the nixie tube DS1 and the 4 pin of the nixie tube DS2, the input end of the LED lamp D4 is connected to the 2 pin of the nixie tube DS1 and the 2 pin of the nixie tube DS2, the input end of the LED lamp D5 is connected to the 1 pin of the nixie tube DS1 and the 1 pin of the nixie tube DS2, the input end of the LED lamp D6 is connected to the 10 pin of the nixie tube DS1 and the 10 pin of the nixie tube DS2, the output end of the LED lamp D1-LED lamp D6 is connected to the input end of the resistor R3, the output end of the resistor R3 is connected to the 26 pin of the driving chip U3 of the main control chip U12; the nixie tube DS1 and the nixie tube DS2 have 8 segments (SEG1-SEG8) and multiple bits (GRID1-GRID8) for displaying numbers or characters, the segments and bits of the nixie tube are controlled by the driving chip U3, the pins 9-16 of the driving chip U3 are connected to different nixie tube segments (SEG1-SEG8) for controlling the display content of the nixie tube, the pins 18-29 are connected to different nixie tube bits (GRID1-GRID9) for selecting the nixie tube to be displayed, the resistor R1502 and the resistor R1602 are used for current limiting and voltage dividing, the capacitor C1402 and the capacitor C1802 are used for filtering to ensure the stability of the power supply, when the circuit is turned on, the LED lamp D1-LED lamp D6 emits light according to the instructions to play an indicating role.
[0039] The temperature controller circuit, temperature adopts four kinds of ways, adopts DS18B20 acquisition circuit, NTC resistance acquisition circuit, K type thermocouple acquisition circuit and PT100 acquisition circuit respectively to carry out acquisition, can guarantee the stability of temperature acquisition work, and multiple temperature information acquisition mode can ensure the accuracy of temperature information acquisition, thereby guaranteeing the stability of the rear end temperature control, the temperature information collected is transmitted to the main control circuit 1 after processing, the temperature information collected is transmitted to the nixie tube DS1 and the nixie tube DS2 of the nixie tube LED control circuit 8 to display, and simultaneously control LED lamp D1-LED lamp D6 to emit light according to the instruction, which plays an indicating role;The main control circuit 1 is connected to the relay output circuit through the analog output circuit 6 after the signal is amplified, the ALM1 signal is triggered, and the relay output circuit can realize the control of external equipment, wherein the diode D2 is connected between the control end of the relay JK1 and the 5V power supply, which is used for protecting the circuit and preventing the transistor from being damaged by reverse electromotive force when the relay JK1 is disconnected;The communication function of different communication interfaces is realized by setting RS485 communication and CAN communication circuit, the transient voltage suppression diode TVS1 and the transient voltage suppression diode TVS2 are used for protecting the circuit from the influence of transient voltage, and are connected to A line and B line respectively, which can prevent overvoltage;The main control circuit 1 controls the display of the nixie tube LED 8 according to the system state or user input signal after receiving the temperature data obtained by the temperature acquisition circuit 5, and the main control circuit 1 controls the analog output circuit 6 to change the voltage, current and other analog signals of the external equipment and the switching state of the relay output circuit 7, so as to control the power supply or signal on-off of the external equipment.
[0040] It should be noted that, in the present text, relational terms such as first and second and the like can only be used to distinguish one entity or operation from another entity or operation, without necessarily requiring or implying any such actual relationship or order between these entities or operations. Moreover, the terms "comprises", "comprising", or any other variant thereof are intended to cover non-exclusive inclusions, so that a process, method, article, or apparatus that includes a list of elements does not only include those elements, but also includes other elements not explicitly listed, or inherent to such process, method, article, or apparatus.
[0041] Although the embodiments of the present application have been shown and described, it can be understood by those skilled in the art that various changes, modifications, replacements and variations can be made to the embodiments without departing from the principles and spirits of the present application, and the scope of the present application is defined by the appended claims and their equivalents.
Claims
1. A temperature controller circuit, comprising a main control circuit (1), a button circuit (2), a power supply circuit (3), a communication circuit (4), a temperature acquisition circuit (5), an analog output circuit (6), a relay output circuit (7), and a digital tube LED control circuit (8), characterized in that: The output terminal of the button circuit (2) is electrically connected to the button circuit (2), the communication circuit (4) is interconnected with the main control circuit (1), the output terminal of the main control circuit (1) is electrically connected to the signal receiving terminal of the main control circuit (1), the analog output circuit (6), the relay output circuit (7) and the digital tube LED control circuit (8) are all connected to the signal output terminals of the analog output circuit (6), the relay output circuit (7) and the digital tube LED control circuit (8); the output terminal of the power supply circuit (3) is electrically connected to the power supply terminal of the main control circuit (1).
2. The temperature controller circuit according to claim 1, characterized in that: The main control circuit (1) includes a main control chip U12 and capacitors C26-C30. The main control chip U12 is an STM32F030C8T6. Capacitors C26, C27, C28, C29, and C30 are connected in parallel in sequence, and their input terminals are all connected to pin 9 of the main control chip U12. Pins 5 and 6 of the main control chip U12 are connected to a crystal oscillator circuit. The crystal oscillator circuit includes crystal oscillator Y1, capacitor C32, and capacitor C33. The input terminal of crystal oscillator Y1 is connected to the input terminal of capacitor C32 and connected to pin 5 of the control chip U12. The output terminal of capacitor C32 is grounded. The output terminal of crystal oscillator Y1 is connected to the output terminal of capacitor C33 and connected to pin 6 of the control chip U12. The output terminal of capacitor C33 is grounded. Pin 25 of the control chip U12... The output of resistor R41 is connected to the input of capacitor C41. The output of capacitor C41 is grounded, and the input of resistor R41 is connected to a 3.3V input. Pin 26 of control chip U12 is connected to the output of resistor R42 and the input of capacitor C42. The output of capacitor C42 is grounded, and the input of resistor R42 is connected to a 3.3V input. Pin 27 of control chip U12 is connected to the output of resistor R43 and the input of capacitor C43. The output of capacitor C43 is grounded, and the input of resistor R43 is connected to a 3.3V input. Pin 28 of control chip U12 is connected to the output of resistor R44 and the input of capacitor C44. The output of capacitor C44 is grounded, and the input of resistor R44 is connected to a 3.3V input.
3. The temperature controller circuit according to claim 1, characterized in that: The button circuit (2) includes button switch KY1, button switch KY2, button switch KY3 and button switch KY4. Button switch KY1 is connected in series between resistor R41 and capacitor C41, button switch KY2 is connected in series between resistor R42 and capacitor C42, button switch KY3 is connected in series between resistor R43 and capacitor C43, and button switch KY4 is connected in series between resistor R44 and capacitor C44.
4. The temperature controller circuit according to claim 1, characterized in that: The communication circuit (4) includes RS485 communication and CAN communication circuits. The RS485 communication circuit includes transient voltage suppression diode TVS1, transient voltage suppression diode TVS2, transistor Q2, and RS485 transceiver chip U11. The input terminal of transient voltage suppression diode TVS1 is connected to pin 6 of RS485 transceiver chip U11, and the input terminal of transient voltage suppression diode TVS2 is connected to pin 5 of RS485 transceiver chip U11. The CAN communication circuit uses CAN transceiver chip U16. Pin 1 of CAN transceiver chip U16 is connected to pin 33 of main control chip U12, and pin 4 of CAN transceiver chip U16 is connected to pin 32 of main control chip U12.
5. The temperature controller circuit according to claim 1, characterized in that: The temperature acquisition circuit (5) includes a DS18B20 acquisition circuit, an NTC resistor acquisition circuit, a K-type thermocouple acquisition circuit, and a PT100 acquisition circuit. The DS18B20 acquisition circuit includes transient voltage suppression diodes TVS5 and TVS6, and a digital temperature sensor DS18B20. The 3V power supply is grounded through the transient voltage suppression diodes TVS5. The digital temperature sensor DS18B20 is grounded after being connected in series with capacitor C91, and then connected in series with pull-up resistor R92 to the 3.3V power input. The NTC resistor acquisition circuit includes resistor R80.
3. Resistors R804 and R602, capacitors C403, C404, and C502. A 3V power supply is connected to the input terminals of resistors R803 and R602. The output terminal of resistor R803 is connected in series with capacitor C403 and then grounded. The output terminal of resistor R602 is connected in series with resistor R804 and capacitor C404 and then grounded, and connected to the input terminal of capacitor C502. The output terminal of capacitor C502 is connected back to the input terminal of resistor R602. The K-type thermocouple acquisition circuit includes operational amplifier U101A, resistor R701, resistor R1101, and capacitor C120.
1. A capacitor C1101, a thyristor Q201, a Zener diode D201, and a Zener diode D101 are connected in series with a resistor R1101 to pin 14 of the main control chip U12, and then connected to the input of capacitor C1101. The output of capacitor C1101 is grounded. The output of resistor R1101 is connected to the output of resistor R701, and the input of resistor R701 is connected to a 3V3 power supply. The base of thyristor Q201 is connected in series with a resistor R1701 to pin 29 of the main control chip U12. The collector of thyristor Q201... The circuit is connected to pin 3 of operational amplifier U101A; the input terminal of Zener diode D201 is connected to the output terminal of Zener diode D101 and then connected to pin 3 of operational amplifier U101A; the output terminal of Zener diode D201 is connected to the input terminal of Zener diode D101 and then connected to pin 2 of operational amplifier U101A; the PT100 acquisition circuit includes operational amplifier U101B, resistors R1302 and R1102, capacitors C302 and C1302; pin 5 of operational amplifier U101B is connected to PT101A via resistors R202 and R102 in series. A 100V sensor input is connected to a 3V3 power supply input. A capacitor C302 is connected in parallel between pins 5 and 6 of operational amplifier U101B. Pin 6 of operational amplifier U101B is connected to the input terminals of resistors R1302 and R1402. The output terminal of resistor R1402 is connected in series with capacitor C1302 and then connected to the output terminal of resistor R1302, which is then connected to pin 7 of operational amplifier U101B. Pin 7 of operational amplifier U101B is connected in series with resistor R1102 and then connected to pin 15 of main control chip U12.
6. The temperature controller circuit according to claim 1, characterized in that: The analog output circuit (6) includes an inverter U1302, operational amplifiers U1201A, U1201B, U1201C, U1201D, and transistor Q1201. Pin 2 of the inverter U1302 is connected to pin 19 of the main control chip U12. Pin 4 of the inverter U1302 is connected in series with resistors R1902 and R2002, and then connected to pin 3 of operational amplifier U1201A and pin 12 of operational amplifier U1201D. Pin 14 of operational amplifier U1201D is connected in series with resistor R2302 and then connected to... Pin 10 of op-amp U1201C is connected to pin 8 of op-amp U1201C. A transient voltage suppressor diode (TVS5) is connected in series with pin 8 of op-amp U1201C and then grounded. Pin 1 of op-amp U1201A is connected in series with resistor R1301 and then to pin 5 of op-amp U1201B. Pin 7 of op-amp U1201B is connected in series with resistor R1901 and then to the base of transistor Q1201. The collector of transistor Q1201 is connected to a 12V power supply input. The emitter of transistor Q1201 is connected in series with resistor R1701 and then to the output of the SSR+ / AO+ terminal, which is connected to the input of resistor R2.
7. The temperature controller circuit according to claim 1, characterized in that: The relay output circuit (7) includes a relay JK1, a transistor Q201, a diode D2, a resistor R3, a resistor R4, and a resistor R2. The input terminal of resistor R3 is connected to pin 19 of the main control chip U12. The output terminal of resistor R3 is connected to the base of transistor Q201 and to the input terminal of resistor R4. The output terminal of resistor R4 is connected to the emitter of transistor Q201 and then grounded. The collector of transistor Q201 is connected to the input terminal of diode D2 and to pin 1 of relay JK1. The output terminal of diode D2 is connected to the input terminal of resistor R2 and pin 2 of relay JK1 and then connected to a +5V input.
8. The temperature controller circuit according to claim 1, characterized in that: The LED control circuit (8) includes a digital tube DS1, a digital tube DS2, a driver chip U3, and LEDs D1-D6. Digital tubes DS1 and DS2 are both connected to the driver chip U3. Pin 7 of the driver chip U3 is connected to the output of resistor R1502, and pin 8 of the driver chip U3 is connected to the output of resistor R1602. The inputs of resistors R1502 and R1602 are connected to a 5V power supply. The output of resistor R1502 is connected to the input of capacitor C1402, and the output of resistor R1602 is connected to the input of capacitor C1802. The outputs of capacitors C1402 and C1802 are connected to ground. The input of LED D1 is connected to the digital tube DS1. The input of LED D1 is connected to pin 11 of the digital tube DS2. The input of LED D2 is connected to pin 7 of the digital tube DS1 and pin 7 of the digital tube DS2. The input of LED D3 is connected to pin 4 of the digital tube DS1 and pin 4 of the digital tube DS2. The input of LED D4 is connected to pin 2 of the digital tube DS1 and pin 2 of the digital tube DS2. The input of LED D5 is connected to pin 1 of the digital tube DS1 and pin 1 of the digital tube DS2. The input of LED D6 is connected to pin 10 of the digital tube DS1 and pin 10 of the digital tube DS2. The outputs of LEDs D1-D6 are connected to the input of resistor R3. The output of resistor R3 is connected to pin 26 of the driver chip U3 of the main control chip U12.