KNX opening and closing system
By designing a KNX switch system including MCU module, KNX input driver module, relay driver module and programming button & programming status indicator module, the limitations of the existing system in terms of function and flexibility are solved, and flexible control of multiple relays and support for multiple functions is achieved.
Patent Information
- Application Number
- CN202421496795.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-27
- Publication Date
- 2025-03-28
- Estimated Expiration
- 2034-06-27
AI Technical Summary
The existing KNX switch system has limitations in terms of function and flexibility, and it is difficult to meet the needs of complex scenarios and multiple relay control.
A KNX opening and closing system is designed, including an MCU module, a KNX input driver module, a relay driver module and a programming button & programming status indicator module. The independent control of multiple relays is achieved through serial communication and DC-DC conversion, and it also has multiple functions such as manual dialing, logic, delay, corridor, preset, and flashing.
It realizes flexible control of up to twelve relays, supports various functions such as switches, scenes, preset values, time, and thresholds, improving the functionality and flexibility of the system.
Smart Images

Figure CN222690076U_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of switch systems, and specifically to a KNX switch system. Background Art
[0002] In a KNX system, the opening and closing modules are usually connected to other devices in the system through the KNX bus. They receive signals from the main controller or user interface, such as a touch screen, mobile application or wall panel, to perform opening or closing actions. These modules are flexibly designed and can be programmed according to specific application requirements to achieve functions such as timing control and scene control, such as one-button control of multiple devices to a preset state, or linkage with sensors, such as light sensors to automatically control lighting functions. Through the standardization of the KNX protocol, installers and system integrators can easily configure and expand the system without having to learn different control protocols for each device. Summary of the invention
[0003] The present application provides a KNX switch system, which is an actuator that can be used to control the switch of a device, with manual dial, logic, delay, corridor, preset, and flashing functions. Each circuit can be called by 5 8-bit scenes at the same time, and 64 scene numbers can be selected.
[0004] The technical solution adopted by the present application to solve the technical problem is: to provide a KNX switch system, including: an MCU module, a KNX input drive module, a relay drive module and a programming button & programming status indicator light module,
[0005] The KNX input driver module is connected to the KNX power supply through the KNX power input interface, and the KNX chip communicates with the MCU module to receive and send KNX signals. The KNX chip internal DC-DC produces +12V power to power the relay driver module. The MCU module, as the master control, communicates with the KNX chip through the serial port, and drives several groups of relay driver modules through the I / O port and detects the programming buttons to change the corresponding indication status at the same time.
[0006] Preferably, the MCU module includes a main control microcontroller U1, the fifth terminal PTE16 of the main control microcontroller U1 provides a save signal, the sixth terminal PTE17 and the eighth terminal PTE19 provide a programming light control signal, the seventh terminal PTE18 is used for the AD input terminal to detect the bus voltage, the ninth terminal PTE20 is used to detect the programming button and determine whether the programming button is pressed, the twenty-second terminal is used for the download interface clock terminal, the twenty-fifth terminal is used for the download interface data terminal, the thirty-sixth terminal PTB1, the thirty-seventh terminal PTB2, and the thirty-eighth terminal PTB3 provide a clock signal to the trigger chip, the forty-third terminal PTC0, the forty-fourth terminal PTC1, the forty-fifth terminal PTC2, the forty-sixth terminal PTC3, the forty-ninth terminal PTC4, the fiftieth terminal PTC5, the fifty-first terminal PTC6, and the fifty-second terminal PTC7 provide data input signals to the trigger chip, the sixty-third terminal UART0_RX is connected to the serial port sending side of the KNX chip, and the sixty-fourth terminal UART0_TX is connected to the serial port receiving side of the KNX chip.
[0007] Preferably, the KNX input drive module includes a KNX chip U6, the sixth terminal of the KNX chip U6 is used as a KNX power input power supply, the third terminal of the KNX chip U6 is used as a KNX signal output, the 15th terminal of the KNX chip U6 is used as the second DC-DC output 12V power supply of the KNX chip, the twelfth and thirteenth terminals of the KNX chip U6 are used as the second DC-DC current monitoring input 1, the eleventh terminal of the KNX chip U6 is used as the second DC-DC voltage monitoring, the ninth and sixteenth terminals of the KNX chip U6 are used as the input power of the first and second DC-DCs, and the seventeenth terminal of the KNX chip U6 is used as the K The first DC-DC output of the NX chip is 3.3V power supply, the 20th terminal of the KNX chip U6 is used as voltage monitoring 1 and current monitoring input 1, the 19th terminal of the KNX chip is used as current input 2 and the first DC-DC voltage monitoring, the 27th terminal of the KNX chip U6 is connected to the sending side UART0_TX of the MCU module, the 28th terminal of the KNX chip U6 is connected to the receiving side UART0_RX of the MCU module, the 29th, 30th and 40th terminals of the KNX chip U6 are connected to EIB_VCC for power supply, and the 36th terminal of the KNX chip U6 is connected to the pin PTE16 of the MCU module to provide a save signal.
[0008] Preferably, twelve groups of relay drive modules include trigger chips U7, U8, U23, signal amplification drive chips U9, U10, U24, relays AU11, U12, U13, U14, U15, U16, U17, U18, U19, U20, U21, U22 and relays BU25, U26, U27, U28, U29, U30, U31, U32, U33, U34, U35, U36 are used to control the on and off of external input voltage and current to achieve control of the equipment. Relay A and relay B have different load capacities. The second terminal of the trigger chip U7 is connected to PTB3 as a clock signal input, and the second terminal of the trigger chip U8 is connected to PTB2 as For clock signal input, the second terminal of the trigger chip U23 is connected to PTB1 as the clock signal input, and the third, fourth, seventh, eighth, thirteenth, fourteenth, seventeenth and eighteenth terminals of the trigger chips U7, U8 and U23 are respectively connected to PTC2, PTC3, PTC6, PTC7, PTC5, PTC4, PTC1 and PTC0 as data input terminals, the trigger chip U7 is connected to the signal amplifying driver chip U9, the signal amplifying driver chip U9 is connected to the relay AU12 / relay BU26 to realize the driving of the relay AU12 / relay BU26, and is connected to the relay AU13 / relay BU27 to realize the driving of the relay AU13 / relay BU27. Drive, connect relay AU14 / relay BU28 to realize the drive of relay AU14 / relay BU28, trigger chip U8 connects to signal amplifier drive chip U10, amplifier drive chip U10 connects to relay AU15 / relay BU29 to realize the drive of relay AU15 / relay BU29, connects to relay AU16 / relay BU30 to realize the drive of relay AU16 / relay BU30, connects to relay AU17 / relay BU31 to realize the drive of relay AU17 / relay BU31, connects to relay AU18 / relay BU32 to realize the drive of relay AU18 / relay BU32, trigger chip U23 connects to signal Amplifying driver chip U24, signal amplifying driver chip U24 is connected to relay AU19 / relay BU33 to realize the driving of relay AU19 / relay BU33, connected to relay AU20 / relay BU34 to realize the driving of relay AU20 / relay BU34, connected to relay AU21 / relay BU35 to realize the driving of relay AU21 / relay BU35, connected to relay AU22 / relay BU36 to realize the driving of relay AU22 / relay BU36, the twentieth terminal of trigger chip U7, U8, U23 is connected to power supply EIB_VCC, the tenth terminal of signal amplifying driver chip U9, U10, U24 is connected to power supply EIB_VCC,Relays AU11 / BU25, AU12 / BU26, AU13 / BU27, AU14 / BU28, AU15 / BU29, AU16 / BU30, AU17 / BU31, AU18 / BU32, AU19 / BU33, AU20 / BU34, AU21 / BU35, AU22 / BU36 are connected to the power supply DC12V and 12 terminals respectively.
[0009] Preferably, the programming button & programming status indicator light module includes a programming button K1, resistors R14, R23, R24, R11, a capacitor C33, a light-emitting diode D4, and an ESD tube D8. The first end of the programming button K1 is grounded KNX_GND, and the second end, the K pole of the ESD tube D8, the first end of the resistor R11, and the second end of the capacitor C33 are connected to the second end of the resistor R24. The second end of the resistor R11 is connected to the power supply EIB_VCC, the A pole of the ESD tube D8 and the first end of the capacitor C33 are grounded KNX_GND, the first end of the resistor R24 is connected to the PTE20 of the MCU module for scanning the button status, the first end and the third end of the light-emitting diode D4 are connected to the power supply EIB_VCC, the second end is connected to the second end of the resistor R14, the fourth end is connected to the second end of the resistor R23, the first end of the resistor R14 is connected to the PTE17 of the MCU module, and the first end of the resistor R23 is connected to the PTE19 of the MCU module. The output signal controls the light-emitting state of the light-emitting diode D4 to indicate the device status.
[0010] The substantial effect of this application is: this KNX switch system converts KNX signals into TTL signals through the KNX input driver module and communicates with the serial port of the MCU module. It also has a 12VDC output to power the relay. The MCU module realizes the programming and downloading of the database and the control of the relay. It also has the input voltage detection and state saving functions. After downloading the database, a series of controls such as switches, scenes, preset values, time, thresholds, corridor lighting control and other functions can be realized for up to twelve relays according to the content of the database. A hardware board is used to realize a relay switch module with twelve independent outputs and mechanical hand-operated operation through the circuit, which is suitable for capacitive loads and LED lights. It has functions such as switches, scenes, preset values, time, thresholds, etc. BRIEF DESCRIPTION OF THE DRAWINGS
[0011] Figure 1 This is a schematic diagram of the module connection of the KNX switch system of this application;
[0012] Figure 2 It is a circuit connection diagram of the MCU module of the KNX switch system of the present application;
[0013] Figure 3 It is a circuit connection diagram of the KNX input drive module of the KNX switch system of the present application;
[0014] Figure 4 It is a circuit connection diagram of the relay drive module of the KNX switch system of the present application;
[0015] Figure 5 This is a circuit connection diagram of the program button & programming status indicator light module of the KNX switch system of this application. DETAILED DESCRIPTION
[0016] The technical solution of the present application is further described below through specific embodiments.
[0017] Embodiment 1
[0018] like Figure 1 As shown, an embodiment of the KNX switch system of the present application includes: an MCU module, a KNX input drive module, a relay drive module and a programming button & programming status indicator light module.
[0019] like Figure 2As shown, the MCU module as the main control communicates with the KNX chip through the serial port, realizes the driving of the relay driver module through the I / O port, detects the programming button and changes the corresponding indication state at the same time, integrates all module functions to realize a series of functions of the KNX twelve-way switch module. The MCU module includes the main control microcontroller U1, reset resistor R4, resistor R6, filter capacitors C1, C3, C4, C5, C9, load capacitors C7, C11, reset capacitor C8, crystal oscillator X1 and download interface J3. The third terminal, thirteenth terminal, fourteenth terminal, thirtieth terminal and forty-eighth terminal of the microcontroller U1 are connected to the power supply EIB_VCC, and the second terminal of the filter capacitor C1, the second terminal of C3, the second terminal of C5, the second terminal of C9, the second terminal of C4 are bypassed, and the first terminal of C1, the first terminal of C3, the first terminal of C5, the first terminal of C9, and the first terminal of C4 are grounded KNX_GND. The fifth terminal PTE16 of the microcontroller U1 provides a save signal. The sixth terminal PTE17 and the eighth terminal PTE19 provide programming light control signals. The seventh terminal PTE18 is used for the AD input terminal to detect the bus voltage. The ninth terminal PTE20 is used to detect the programming button and determine whether the programming button is pressed. The twenty-second terminal is used for the download interface clock terminal, and the twenty-fifth terminal is used for the download interface data terminal. The thirty-second terminal and the thirty-third terminal are connected to the third terminal and the first terminal of the external crystal oscillator X1, and are also connected to the second terminal of the load capacitor C7 and the second terminal of C11. The first terminal of C7 and the first terminal of C11 are connected to the ground KNX_GND. The thirty-fourth terminal is used as a reset pin to connect the first terminal of the reset resistor R4 and the second terminal of the reset capacitor C8. The second terminal of the reset resistor R4 is connected to the power supply EIB_VCC, and the first terminal of the reset capacitor C8 is connected to the ground KNX_GND. The thirty-sixth terminal PTB1, the thirty-seventh terminal PTB2, and the thirty-eighth terminal PTB3 provide clock signals to the trigger chip. The 43rd terminal PTC0, the 44th terminal PTC1, the 45th terminal PTC2, the 46th terminal PTC3, the 49th terminal PTC4, the 50th terminal PTC5, the 51st terminal PTC6, and the 52nd terminal PTC7 provide data input signals to the trigger chip. The 63rd terminal UART0_RX is connected to the serial port sending side of the KNX chip, and the 64th terminal UART0_TX is connected to the serial port receiving side of the KNX chip.
[0020] like Figure 2 and Figure 3As shown, the KNX input driver module is connected to the KNX power supply through the KNX power input interface, and the KNX chip communicates with the MCU module to simultaneously realize the reception and transmission of KNX signals, and the +12V power supply is produced by the internal DC-DC of the KNX chip to power the relay drive circuit. The KNX input driver module includes a KNX chip U6, current limiting resistors R15, R16, R18, sampling resistors R13, R22, resistors R1, resistors R5, resistors R7, resistors R8, resistors R10, resistors R12, resistors R19, resistors R21, voltage stabilizing diodes D1, TVS bidirectional diodes D6, diodes D5, D3, filter capacitors C2, C6, C10, C22, C23, C26, C27, C28, C29, load capacitors C20, capacitors C21, capacitors C24, capacitors C25, inductors L1, inductors L2, crystal oscillators Y1, and KNX pins J1. The first end of the KNX pin J1 and the second end of the resistor R7 are connected to the positive input of the KNX power supply, and the second end of J1 and the second end of the resistor R8 are connected to the negative input of the KNX power supply. The first end of the resistor R7 is connected to the anti-reverse diode D5A, and the first end of the resistor R8 is grounded to KNX_GND. The diode D5K, the TVS bidirectional diode D6K, the first end of the capacitor C24, the second end of the sampling resistor R13, the second end of the current limiting resistor R18, and the sixth end of the KNX chip U6 are used as the KNX power input. The first end of the current limiting resistor R18 is connected to the third end of the KNX chip U6 as the KNX signal output. The TVS bidirectional diode D6A is grounded to KNX_GND. The first end of resistor R13, the voltage-stabilizing diode D1K pole and the second end of voltage-dividing resistor R22 are connected to the second end of resistor R21, the voltage-stabilizing diode K1A pole, the first end of resistor R22 and the first end of capacitor C10 are grounded KNX_GND, and the first end of resistor R21 and the second end of capacitor C10 are connected to PTE18 as MCU side KNX voltage AD sampling input. The 15th end of KNX chip U6 is connected to the second end of inductor L1 as the second DC-DC output 12V power supply of KNX chip. The first end of inductor L1 is connected to the twelfth end of KNX chip U6 (second DC-DC current monitoring input 1) and the second end of resistor R5. The first end of resistor R5 is connected to the thirteenth end of KNX chip U6 (second DC-DC current monitoring input 1), the first end of resistor R10, the first end of resistor R3, the second end of filter capacitor C2 and the second end of C6, and the first end of filter capacitor C2 and the first end of C6 are grounded KNX_GND. The second end of resistor R3 and the second end of resistor R2 are connected to the eleventh end of KNX chip U6 (second DC-DC voltage monitoring), and the first end of resistor R2 is grounded KNX_GND. The second end of resistor R10 is connected to the anti-reverse diode D3A pole, and the anti-reverse diode D3K pole is connected to DC12V as the power supply for the relay drive circuit.The ninth terminal of KNX chip U6 is connected to the second terminal of capacitor C27 and the sixteenth terminal of U6 as the input power of the first and second DC-DC, and the first terminal of capacitor C27 is grounded KNX_GND. The seventeenth terminal of KNX chip U6 is connected to the second terminal of inductor L2 as the first DC-DC output 3.3V power supply of KNX chip, and the first terminal of inductor L2 is connected to the twentieth terminal of KNX chip U6 (voltage monitoring 1 current monitoring input 1).
[0021] And the first end of resistor R19. The second end of resistor R19 is connected to EIB_VCC, the second end of filter capacitor C29 and the nineteenth end of KNX chip (current input 2 and first DC-DC voltage monitoring) as 3.3V output, and the first end of filter capacitor C29 is grounded KNX_GND. The twenty-seventh end of KNX chip U6 is connected to the first end of resistor R16 as the receiving side, and the second end of resistor R16 is connected to the sending side UART0_TX of MCU module. The twenty-eighth end of KNX chip U6 is connected to the first end of resistor R15 as the sending side, and the second end of resistor R15 is connected to the receiving side UART0_RX of MCU module. The twenty-ninth end, the thirtieth end and the fortieth end of KNX chip U6 are connected to EIB_VCC for power supply. The first end, the second end, the fourteenth end, the eighteenth end, the twenty-third end, the twenty-fourth end, the twenty-fifth end, the twenty-sixth end, the thirty-first end and the thirty-third end of KNX chip U6 are grounded KNX_GND. The 34th and 35th terminals of the KNX chip U6 are connected to the first and third terminals of the external crystal oscillator Y1, and are connected to the second terminal of the load capacitor C20 and the second terminal of C21, and the first terminal of C20 and the first terminal of C21 are connected to the ground KNX_GND. The 36th terminal of the KNX chip U6 is connected to the second terminal of the resistor R12, and the first terminal of the resistor R12 is connected to the pin PTE16 of the MCU module to provide a save signal.
[0022] like Figure 2 and Figure 4As shown, the relay driver module receives the signal from the MCU module to the trigger chip, and then outputs the corresponding drive signal to the signal amplifier driver chip to realize the control of the on and off of the two relays. The relay driver module includes trigger chips U7, U8, U23, signal amplifier driver chips U9, U10, U24, relays AU11, U12, U13, U14, U15, U16, U17, U18, U19, U20, U21, U22 and relays BU25, U26, U27, U28, U29, U30, U31, U32, U33, U34, U35, U36, which are used to control the on and off of the external input voltage and current to realize the control of lighting and other equipment. The difference between relay A and relay B is the different load capacity. Pull-up resistors R9, R17, R20, pull-down resistors RP1, RP2, R51, R52, R53, filter capacitors C12, C13C30, C31, C35, C36, energy storage capacitors C18, C19, C34. Wiring terminals P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12. The first ends of trigger chips U7, U8, U23 are connected to the second ends of pull-up resistors R9, R17, R20 as reset pins, and the second ends of R9, R17, R20 are connected to the power supply EIB_VCC. The second end of trigger chip U7 is connected to PTB3 as a clock signal input, and is also connected to the first end of pull-down resistor R51, and the second end of resistor R51 is grounded KNX_GND. The second terminal of the trigger chip U8 is connected to PTB2 as a clock signal input, and is also connected to the first end of the pull-down resistor R52, and the second end of the resistor R52 is grounded to KNX_GND. The second terminal of the trigger chip U23 is connected to PTB1 as a clock signal input, and is also connected to the first end of the pull-down resistor R53, and the second end of the resistor R53 is grounded to KNX_GND. The third, fourth, seventh, eighth, thirteenth, fourteenth, seventeenth and eighteenth terminals of the trigger chips U7, U8 and U23 are respectively connected to PTC2, PTC3, PTC6, PTC7, PTC5, PTC4, PTC1 and PTC0 as data input terminals, and are also connected to the first, second, third and fourth terminals of the pull-down resistors RP1 and RP2, and the fifth, sixth, seventh and eighth terminals of the pull-down resistors RP1 and RP2 are grounded to KNX_GND. The function of the pull-down resistors is to lock the states of these input signals to prevent false triggering. The tenth terminal of the trigger chip U7, U8, and U23 is grounded KNX_GND. The second terminal INPUT_OFF_A and the fifth terminal INPUT_ON_A of the trigger chip U7 are respectively connected to the first terminal and the second terminal of the signal amplification driver chip U9, and the eighteenth terminal and the seventeenth terminal of U9 are output to the second terminal and the first terminal of the relay U11 / U25 to drive the relay U11 / U25.The sixth terminal INPUT_OFF_B and the sixth terminal INPUT_ON_B of the trigger chip U7 are respectively connected to the third terminal and the fourth terminal of the signal amplification driver chip U9, and are output from the sixteenth terminal and the fifteenth terminal of U9 to the second terminal and the first terminal of the relay U12 / U26 to drive the relay U12 / U26. The twelfth terminal INPUT_OFF_C and the fifteenth terminal INPUT_ON_C of the trigger chip U7 are respectively connected to the fifth terminal and the sixth terminal of the signal amplification driver chip U9, and are output from the fourteenth terminal and the thirteenth terminal of U9 to the second terminal and the first terminal of the relay U13 / U27 to drive the relay U13 / U27. The sixteenth terminal INPUT_OFF_D and the nineteenth terminal INPUT_ON_D of the trigger chip U7 are respectively connected to the seventh terminal and the eighth terminal of the signal amplification driver chip U9, and are output from the twelfth terminal and the eleventh terminal of U9 to the second terminal and the first terminal of the relay U14 / U28 to drive the relay U14 / U28. The second terminal INPUT_OFF_E and the fifth terminal INPUT_ON_E of the trigger chip U8 are respectively connected to the first terminal and the second terminal of the signal amplification driver chip U10, and the output is from the eighteenth terminal and the seventeenth terminal of U10 to the second terminal and the first terminal of the relay U15 / U29 to drive the relay U15 / U29. The sixth terminal INPUT_OFF_F and the sixth terminal INPUT_ON_F of the trigger chip U8 are respectively connected to the third terminal and the fourth terminal of the signal amplification driver chip U10, and the output is from the sixteenth terminal and the fifteenth terminal of U10 to the second terminal and the first terminal of the relay U16 / U30 to drive the relay U16 / U30. The twelfth terminal INPUT_OFF_G and the fifteenth terminal INPUT_ON_G of the trigger chip U8 are respectively connected to the fifth terminal and the sixth terminal of the signal amplification driver chip U10, and the output is from the fourteenth terminal and the thirteenth terminal of U10 to the second terminal and the first terminal of the relay U17 / U31 to drive the relay U17 / U31. The sixteenth terminal INPUT_OFF_H and the nineteenth terminal INPUT_ON_H of the trigger chip U8 are respectively connected to the seventh terminal and the eighth terminal of the signal amplification driver chip U10, and the output is output from the twelfth terminal and the eleventh terminal of U10 to the second terminal and the first terminal of the relay U18 / U32 to drive the relay U18 / U32. The second terminal INPUT_OFF_I and the fifth terminal INPUT_ON_I of the trigger chip U23 are respectively connected to the first terminal and the second terminal of the signal amplification driver chip U24, and the output is output from the eighteenth terminal and the seventeenth terminal of U24 to the second terminal and the first terminal of the relay U19 / U33 to drive the relay U19 / U33.The sixth terminal INPUT_OFF_J and the sixth terminal INPUT_ON_J of the trigger chip U23 are respectively connected to the third terminal and the fourth terminal of the signal amplification driver chip 24, and are output from the sixteenth terminal and the fifteenth terminal of U24 to the second terminal and the first terminal of the relay U20 / U34 to drive the relay U20 / U33. The twelfth terminal INPUT_OFF_K and the fifteenth terminal INPUT_ON_K of the trigger chip U23 are respectively connected to the fifth terminal and the sixth terminal of the signal amplification driver chip U24, and are output from the fourteenth terminal and the thirteenth terminal of U24 to the second terminal and the first terminal of the relay U21 / U35 to drive the relay U21 / U35. The sixteenth terminal INPUT_OFF_L and the nineteenth terminal INPUT_ON_L of the trigger chip U23 are respectively connected to the seventh terminal and the eighth terminal of the signal amplification driver chip U24, and are output from the twelfth terminal and the eleventh terminal of U24 to the second terminal and the first terminal of the relay U22 / U36 to drive the relay U22 / U36. The twentieth terminal of the trigger chip U7, U8, and U23 is connected to the power supply EIB_VCC, and the second terminal of the filter capacitor C12, C13, and C35 is bypassed respectively, and the first terminal of the capacitor C12, C13, and C35 is grounded KNX_GND. The ninth terminal of the signal amplification driver chip U9, U10, and U24 is grounded KNX_GND. The tenth terminal of the signal amplification driver chip U9, U10, and U24 is connected to the power supply EIB_VCC, and the second terminal of the filter capacitor C30, C31, and C36 is bypassed respectively, and the first terminal of the capacitor C30, C31, and C36 is grounded KNX_GND. The fifth terminal of relays U11 / U25, U12 / U26, U13 / U27, U14 / U28, U15 / U29, U16 / U30, U17 / U31, U18 / U32, U19 / U33, U20 / U34, U21 / U35, and U22 / U36 is connected to the power supply DC12V, and is also connected to the second terminal of energy storage capacitors C18, C19, and C34. The first terminals of capacitors C18, C19, and C34 are grounded to KNX_GND. The energy storage capacitor provides energy to the relay during continuous operation to compensate for the insufficient output of the 12V power supply. The first terminal of terminal P1 is connected to the third terminal of relay U11 / U25, and the second terminal of P1 is connected to the fourth terminal of relay U11 / U25. The first terminal of terminal P2 is connected to the third terminal of relay U12 / U26, and the second terminal of P2 is connected to the fourth terminal of relay U12 / U26. The first end of the connection terminal P3 is connected to the third end of the relay U13 / U27, and the second end of P3 is connected to the fourth end of the relay U13 / U27. The first end of the connection terminal P4 is connected to the third end of the relay U14 / U28, and the second end of P4 is connected to the fourth end of the relay U14 / U28. The first end of the connection terminal P5 is connected to the third end of the relay U15 / U29, and the second end of P5 is connected to the fourth end of the relay U15 / U29.The first end of the connection terminal P6 is connected to the third end of the relay U16 / U30, and the second end of P6 is connected to the fourth end of the relay U16 / U30. The first end of the connection terminal P7 is connected to the third end of the relay U17 / U31, and the second end of P7 is connected to the fourth end of the relay U17 / U31. The first end of the connection terminal P8 is connected to the third end of the relay U18 / U32, and the second end of P8 is connected to the fourth end of the relay U18 / U32. The first end of the connection terminal P9 is connected to the third end of the relay U19 / U33, and the second end of P9 is connected to the fourth end of the relay U19 / U33. The first end of the connection terminal P10 is connected to the third end of the relay U20 / U34, and the second end of P10 is connected to the fourth end of the relay U20 / U34. The first end of the connection terminal P11 is connected to the third end of the relay U21 / U35, and the second end of P11 is connected to the fourth end of the relay U21 / U35. The first end of the connection terminal P12 is connected to the third end of the relay U22 / U36, and the second end of P12 is connected to the fourth end of the relay U22 / U36. It is used to input and output external signals.
[0023] like Figure 2 and 5 As shown, the I / O port of the programming button & programming status indicator module MCU module detects whether the programming button is pressed, and drives the corresponding light-emitting diode to indicate the status when the button status changes. The programming button & programming status indicator module MCU module includes a programming button K1, resistors R14, R23, R24, R11, a capacitor C33, a light-emitting diode D4, and an ESD tube D8. The first end of the programming button K1 is grounded KNX_GND, and the second end, the K pole of the ESD tube D8, the first end of the resistor R11, and the second end of the capacitor C33 are connected to the second end of the resistor R24. The second end of the resistor R11 is connected to the power supply EIB_VCC, the A pole of the ESD tube D8 and the first end of the capacitor C33 are grounded KNX_GND, and the first end of the resistor R24 is connected to the PTE20 of the MCU module for scanning the button status. The first and third ends of the light-emitting diode D4 are connected to the power supply EIB_VCC, the second end is connected to the second end of the resistor R14, and the fourth end is connected to the second end of the resistor R23. The first end of the resistor R14 is connected to PTE17 of the MCU module, and the first end of the resistor R23 is connected to PTE19 of the MCU module. A signal is output as needed to control the light-emitting state of the light-emitting diode D4 to indicate the device state.
[0024] The above-described embodiment is only a preferred solution of the present application and does not limit the present application in any form. There are other variations and modifications without exceeding the technical solution described in the claims.
Claims
1. A KNX switch system, characterized in that: include: MCU module, KNX input driver module, relay driver module and programming button & programming status indicator module, The KNX input driver module is connected to the KNX power supply through the KNX power input interface, and the KNX chip communicates with the MCU module to receive and send KNX signals. The KNX chip internal DC-DC produces +12V power to power the relay driver module. The MCU module, as the master control, communicates with the KNX chip through the serial port, and drives several groups of relay driver modules through the I / O port and detects the programming buttons to change the corresponding indication status at the same time.
2. The KNX opening and closing system according to claim 1, characterized in that: The MCU module includes a main control microcontroller U1, the fifth terminal PTE16 of the main control microcontroller U1 provides a save signal, the sixth terminal PTE17 and the eighth terminal PTE19 provide a programming light control signal, the seventh terminal PTE18 is used for the AD input terminal to detect the bus voltage, the ninth terminal PTE20 is used to detect the programming button and determine whether the programming button is pressed, the twenty-second terminal is used for the download interface clock terminal, the twenty-fifth terminal is used for the download interface data terminal, the thirty-sixth terminal PTB1, the thirty-seventh terminal PTB2, and the thirty-eighth terminal PTB3 provide a clock signal to the trigger chip, the forty-third terminal PTC0, the forty-fourth terminal PTC1, the forty-fifth terminal PTC2, the forty-sixth terminal PTC3, the forty-ninth terminal PTC4, the fiftieth terminal PTC5, the fifty-first terminal PTC6, and the fifty-second terminal PTC7 provide data input signals to the trigger chip, the sixty-third terminal UART0_RX is connected to the serial port sending side of the KNX chip, and the sixty-fourth terminal UART0_TX is connected to the serial port receiving side of the KNX chip.
3. The KNX opening and closing system according to claim 2, characterized in that: The KNX input driver module includes a KNX chip U6, the sixth terminal of the KNX chip U6 is used as the KNX power input power supply, the third terminal of the KNX chip U6 is used as the KNX signal output, the fifteenth terminal of the KNX chip U6 is used as the second DC-DC output 12V power supply of the KNX chip, the twelfth and thirteenth terminals of the KNX chip U6 are used as the second DC-DC current monitoring input 1, the eleventh terminal of the KNX chip U6 is used as the second DC-DC voltage monitoring, the ninth and sixteenth terminals of the KNX chip U6 are used as the input power of the first and second DC-DCs, and the seventeenth terminal of the KNX chip U6 is used as the KNX chip The first DC-DC output of the chip is 3.3V power supply, the 20th terminal of the KNX chip U6 is used as voltage monitoring 1 and current monitoring input 1, the 19th terminal of the KNX chip is used as current input 2 and the first DC-DC voltage monitoring, the 27th terminal of the KNX chip U6 is connected to the sending side UART0_TX of the MCU module, the 28th terminal of the KNX chip U6 is connected to the receiving side UART0_RX of the MCU module, the 29th, 30th and 40th terminals of the KNX chip U6 are connected to EIB_VCC for power supply, and the 36th terminal of the KNX chip U6 is connected to the pin PTE16 of the MCU module to provide a save signal.
4. The KNX opening and closing system according to claim 3, characterized in that: The twelve groups of relay drive modules include trigger chips U7, U8, U23, signal amplification drive chips U9, U10, U24, relays AU11, U12, U13, U14, U15, U16, U17, U18, U19, U20, U21, U22 and relays BU25, U26, U27, U28, U29, U30, U31, U32, U33, U34, U35, U36, which are used to control the on and off of external input voltage and current to achieve control of the equipment. Relay A and relay B have different load capacities. The second terminal of the trigger chip U7 is connected to PTB3 as a clock signal input, and the second terminal of the trigger chip U8 is connected to PTB2 as a clock signal The second terminal of the trigger chip U23 is connected to PTB1 as a clock signal input, and the third, fourth, seventh, eighth, thirteenth, fourteenth, seventeenth and eighteenth terminals of the trigger chips U7, U8 and U23 are connected to PTC2, PTC3, PTC6, PTC7, PTC5, PTC4, PTC1 and PTC0 as data input terminals respectively. The trigger chip U7 is connected to the signal amplifying driver chip U9, and the signal amplifying driver chip U9 is connected to the relay AU12 / relay BU26 to realize the driving of the relay AU12 / relay BU26, and connected to the relay AU13 / relay BU27 to realize the driving of the relay AU13 / relay BU27. Connect relay AU14 / relay BU28 to drive relay AU14 / relay BU28, trigger chip U8 is connected to signal amplifier driver chip U10, amplifier driver chip U10 is connected to relay AU15 / relay BU29 to drive relay AU15 / relay BU29, connect relay AU16 / relay BU30 to drive relay AU16 / relay BU30, connect relay AU17 / relay BU31 to drive relay AU17 / relay BU31, connect relay AU18 / relay BU32 to drive relay AU18 / relay BU32, trigger chip U23 ... The large driver chip U24, the signal amplifying driver chip U24 is connected to the relay AU19 / relay BU33 to realize the driving of the relay AU19 / relay BU33, connected to the relay AU20 / relay BU34 to realize the driving of the relay AU20 / relay BU34, connected to the relay AU21 / relay BU35 to realize the driving of the relay AU21 / relay BU35, connected to the relay AU22 / relay BU36 to realize the driving of the relay AU22 / relay BU36, the twentieth terminal of the trigger chip U7, U8, U23 is connected to the power supply EIB_VCC, the tenth terminal of the signal amplifying driver chip U9, U10, U24 is connected to the power supply EIB_VCC,Relays AU11 / BU25, AU12 / BU26, AU13 / BU27, AU14 / BU28, AU15 / BU29, AU16 / BU30, AU17 / BU31, AU18 / BU32, AU19 / BU33, AU20 / BU34, AU21 / BU35, AU22 / BU36 are connected to the power supply DC12V and 12 terminals respectively.
5. The KNX opening and closing system according to claim 4, characterized in that: The programming button & programming status indicator light module includes a programming button K1, resistors R14, R23, R24, R11, a capacitor C33, a light-emitting diode D4, and an ESD tube D8. The first end of the programming button K1 is grounded KNX_GND, and the second end, the K pole of the ESD tube D8, the first end of the resistor R11, and the second end of the capacitor C33 are connected to the second end of the resistor R24. The second end of the resistor R11 is connected to the power supply EIB_VCC, the A pole of the ESD tube D8 and the first end of the capacitor C33 are grounded KNX_GND. The first end of the resistor R24 is connected to PTE20 of the MCU module for scanning the button status, the first end and the third end of the light-emitting diode D4 are connected to the power supply EIB_VCC, the second end is connected to the second end of the resistor R14, the fourth end is connected to the second end of the resistor R23, the first end of the resistor R14 is connected to PTE17 of the MCU module, and the first end of the resistor R23 is connected to PTE19 of the MCU module. The output signal controls the light-emitting state of the light-emitting diode D4 to indicate the device status.