Intelligent furniture anti-pinch control device and control method

Through the smart furniture anti-pinch control device, acceleration sensors or current transformers are used to detect users and moving parts, and directly control the motor drive circuit, solving the problems of appearance changes and functional damage when adding anti-pinch functions to smart furniture, achieving efficient and safe Install and use.

CN118393963BActive Publication Date: 2024-09-10EMOMO TECHNOLOGY CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410813985.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-24
Publication Date
2024-09-10
Estimated Expiration
2044-06-24

AI Technical Summary

Technical Problem

When adding an anti-pinch function to existing smart furniture, it is necessary to install cameras or millimeter-wave radars, which results in complicated appearance changes and installation, and may destroy the original functions.

Method used

An anti-pinch control device for smart furniture is provided. Through the motion detection module, the user detection module and the motor braking module, the acceleration sensor or current transformer is used to detect the position of the smart furniture moving parts and the user, and directly controls the motor drive circuit to achieve the anti-pinch function. Without changing the appearance or destroying the original function.

Benefits of technology

It reduces the installation complexity and cost, improves the installation efficiency, does not affect the original functions of smart furniture, and improves safety.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118393963B
    Figure CN118393963B
Patent Text Reader

Abstract

The present application belongs to the technical field of intelligent control systems. The present application discloses an anti-pinch control device and control method for intelligent furniture, which can detect the position of the user by only installing the user detection module in the target space where the intelligent furniture is located, without changing the appearance characteristics of the intelligent furniture; and because the user detection module and the intelligent furniture are installed separately, the installation position is not affected by the appearance characteristics of the intelligent furniture and the different structures of the movable parts, which reduces the complexity of the installation process and improves the installation efficiency. At the same time, the signal transmission path between the output pin of the intelligent furniture microcontroller and the motor drive circuit can be directly disconnected through the motor braking module, thereby realizing the function of controlling the intelligent furniture to stop the action when the user position is detected to enter the preset range, without rewriting the software control program of the intelligent furniture MCU, and will not destroy the original function of the intelligent furniture.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to an intelligent control system, and in particular to an anti-pinch control device and a control method for intelligent furniture. Background Art

[0002] With the popularity of smart furniture, people use smart furniture more and more frequently, and improving the safety issues existing in the use of smart furniture has become an important direction for the improvement of smart furniture. For example, Patent Document 1 discloses a smart home safety control system and an anti-pinch control method. The smart door provided in this solution can capture images through a camera and detect whether an identified object passes by or approaches the smart door based on the image, and then control the opening and closing state of the smart door based on the detection result. For example, when a child is identified through the camera, the anti-pinch mechanism is controlled to prevent the smart door from closing, avoiding the smart door from pinching the child, thereby improving the safety of smart furniture.

[0003] However, the solution of patent document 1 uses a camera to shoot, which may involve privacy and is not easy for users to accept. In response to this, patent document 2 provides an anti-pinch monitoring method for electric sofas based on millimeter-wave radar. The solution uses millimeter-wave radar to perform real-time monitoring to monitor whether there are micro-animal targets in the area of ​​the moving parts. If there are, it means that there are moving targets (living things) in the area. At this time, the moving parts of the sofa will be prohibited from mechanical movement, and the user will not be able to continue to make the sofa move mechanically by pressing the button; when the target is far away, the micro-motion signal disappears, and mechanical movement is allowed again, which ultimately has an anti-pinch effect. The data collected by the millimeter-wave radar does not involve privacy, which improves the safety of smart furniture while not infringing on user privacy.

[0004] The above are two anti-pinch solutions used by smart furniture in the prior art to protect user safety. In general, the anti-pinch control of smart furniture generally includes three key process steps: detecting the user's position, detecting whether the smart furniture is in motion, and controlling the smart furniture to stop moving when the user's position is detected to be within a preset range. Obviously, the process steps of anti-pinch control depend on the corresponding hardware circuit, and the corresponding anti-pinch software control program must be compiled for the corresponding hardware circuit.

[0005] According to patent documents 1 and 2, if you want to add an anti-pinch function to smart furniture, you need to first install a camera or millimeter-wave radar in the smart furniture to detect the user's position, and then you need to modify the software control program burned into the smart furniture MCU (microcontroller) so that the new software control program can implement the following steps: detect whether the smart furniture is moving and control the smart furniture to stop moving when it detects that the user's position enters a preset range.

[0006] It can be seen that there are the following technical difficulties in adding anti-pinch function to smart furniture that is not equipped with anti-pinch function during manufacturing:

[0007] 1. In terms of hardware: When installing cameras or millimeter-wave radars on smart furniture, it is necessary to select the installation location based on the appearance characteristics of the specific smart furniture and the structure of the active parts. The appearance characteristics of the smart furniture need to be changed, which may not meet the user's aesthetic requirements for smart furniture. In addition, different smart furniture has different appearance characteristics and structures of active parts. The installation location needs to be re-planned for each smart furniture, which makes the installation process complicated and the installation efficiency low.

[0008] 2. In terms of software: the software control program of the smart furniture MCU needs to be rewritten. However, since the original software program cannot be obtained, the rewritten program may cause the smart furniture to be unable to achieve its original functions, destroying the original functions of the smart furniture. There is a risk of damage to the original functions of the smart furniture.

[0009] Patent document 1, Chinese patent, publication number, CN115993782A, patent name, a smart home safety control system and anti-pinch control method, publication date, 2023-04-21.

[0010] Patent document 2, Chinese patent, publication number, CN117554943A, patent name, electric sofa anti-pinch monitoring method based on millimeter wave radar, publication date, 2024-02-13. Summary of the invention

[0011] The purpose of the present invention is to provide an anti-pinch control device and control method for smart furniture, which can add an anti-pinch function to smart furniture that is not equipped with the anti-pinch function during manufacturing without changing the appearance characteristics of the smart furniture and without destroying the original functions of the smart furniture.

[0012] In order to achieve the above-mentioned purpose of the invention, the following technical solutions are provided:

[0013] In a first aspect, a smart furniture anti-pinch control device is provided, the control device comprising:

[0014] A motion detection module, used to detect the state of the moving parts of the smart furniture and send a motion trigger signal to the main control module when detecting that the moving parts of the smart furniture are in motion;

[0015] The user detection module is separately provided from the smart furniture and installed in the target space where the smart furniture is located, and is used to detect the state of the user coordinates and send a coordinate trigger signal to the main control module when it is detected that the state of the user coordinates meets the preset conditions; the state of the user coordinates includes the motion state of the user coordinates or the static state of the user coordinates;

[0016] A motor brake module, which is connected to the control signal line and is used to disconnect the signal transmission path corresponding to the control signal line in response to a received brake signal; wherein the control signal line is a signal line connected between an output pin of the smart furniture microcontroller and a corresponding motor drive circuit and serves as a signal transmission path; the motor drive circuit is used to drive the corresponding motor to rotate so as to drive the movable part to move; and

[0017] A main control module, the main control module includes a memory, a processor, and a computer program stored in the memory and executable on the processor; when the processor executes the program, the following steps are implemented:

[0018] In response to the received motion trigger signal, marking the state of the smart furniture as being in motion;

[0019] In response to the received coordinate trigger signal, marking the user's state as being in a high risk state of being pinched;

[0020] When it is detected that the smart furniture is in motion and the user is at a high risk of being pinched, a braking signal is sent to the motor braking module.

[0021] In a second aspect, a control method is provided, which is applied to the above-mentioned smart furniture anti-pinch control device, and the method comprises:

[0022] The main control module marks the state of the smart furniture as being in motion in response to the received motion trigger signal;

[0023] The main control module marks the user's state as being in a high risk state of being pinched in response to the received coordinate trigger signal;

[0024] When the main control module detects that the smart furniture is in motion and the user is at high risk of being pinched, it sends a braking signal to the motor braking module.

[0025] Beneficial effects:

[0026] The present application provides an anti-pinch control device and control method for smart furniture. It is only necessary to install the user detection module in the target space where the smart furniture is located to detect the user's position, without changing the appearance characteristics of the smart furniture; and because the user detection module and the smart furniture are installed separately, the installation position is not affected by the appearance characteristics of the smart furniture and the different structures of the active parts, which reduces the complexity of the installation process and improves the installation efficiency. At the same time, the signal transmission path between the output pin of the smart furniture microcontroller and the motor drive circuit can be directly disconnected through the motor brake module, thereby realizing the function of controlling the smart furniture to stop the action when the user position is detected to enter the preset range, without rewriting the software control program of the smart furniture MCU, and will not destroy the original function of the smart furniture. BRIEF DESCRIPTION OF THE DRAWINGS

[0027] The present invention is further described below in conjunction with the accompanying drawings and embodiments;

[0028] Figure 1 The circuit schematic diagram of the smart furniture driving the motor through a relay;

[0029] Figure 2 To assemble the intelligent furniture anti-pinch control device provided in Example 1 to Figure 1 The corresponding circuit diagram behind the smart furniture;

[0030] Figure 3 To assemble the intelligent furniture anti-pinch control device provided in Example 1 to Figure 1 The corresponding circuit schematic behind the smart furniture;

[0031] Figure 4 This is the circuit schematic diagram of the smart furniture driving the single-phase AC motor forward and reverse through two relays;

[0032] Figure 5 To assemble the intelligent furniture anti-pinch control device provided in Example 2 to Figure 4 The corresponding circuit diagram behind the smart furniture;

[0033] Figure 6 To assemble the intelligent furniture anti-pinch control device provided in Example 2 to Figure 4 The corresponding circuit schematic behind the smart furniture;

[0034] Figure 7 This is the circuit schematic diagram of the smart furniture driving the three-phase motor forward and reverse through four relays;

[0035] Figure 8 To assemble the intelligent furniture anti-pinch control device provided in Example 3 to Figure 7 The corresponding circuit diagram behind the smart furniture;

[0036] Fig. 9 The schematic circuit diagram of the interlocking module with programming function provided in Example 4;

[0037] Fig.10 This is a schematic flow chart of the control method provided in Example 5;

[0038] Fig.11 This is a schematic diagram of the structure of the single-pole double-throw switch provided in Example 6 when it is in the first state;

[0039] Fig.12 This is a schematic diagram of the structure of the single-pole double-throw switch provided in Example 6 when it is in the second state;

[0040] Fig.13 This is a schematic diagram of the positional relationship of the four switches SW1, SW2, SW3, and SW4 after the interlock module with programming function in Example 6 is packaged;

[0041] Fig.14 This is a schematic diagram of the structure of the interlocking module with programming function after packaging in Example 6.

[0042] Reference numerals:

[0043] 10. First motor drive circuit; 11. First motor brake module; 12. User detection module; 13. Main control module; 14. Motion detection module; 21. Second motor drive circuit; 22. Interlocking module; 23. Second motor brake module; 24. Third motor brake module; 31. Third motor drive circuit; 50. Rocker switch; 51. Push button; 52. Upper locking hole; 53. Lower locking hole; 54. Support shell; 55. Annular support sheet; 60. Double rocker switch; 70. Encapsulation shell; 71. Locking rod; 72. Support arm; 73. Support through hole. DETAILED DESCRIPTION

[0044] Referring to patent documents 1 and 2, it can be seen that in the prior art, when the millimeter-wave radar or camera is installed, it is installed on the smart furniture, which will cause the appearance of the smart furniture to be changed. In this embodiment, the millimeter-wave radar or camera (i.e., the user detection module) is installed separately with the smart furniture in the same target space, and there is no need to change the appearance of the smart furniture. For smart furniture of different types or different appearances, there is no need to re-plan and change the installation position of the user detection module. The installation process is simple and the installation efficiency is high. For example, if the user detection module includes a control unit and a millimeter-wave radar, it is only necessary to make all the smart furniture that needs to increase the anti-pinch function be located within the coverage range of the millimeter-wave radar. Specifically, the control unit and the main control module 13 are both single-chip microcomputers, and both are equipped with wireless communication modules such as Bluetooth or WiFi, and the two transmit data through the wireless communication module. It should be noted that in this embodiment, the user is allowed to define a corresponding preset area or preset range for each smart furniture. Once the active parts of the smart furniture are moving, a coordinate trigger signal is generated and sent to the main control module 13 when a human enters the corresponding range or area to achieve the anti-pinch function. Specifically, the following method allows the user to define a corresponding preset area or preset range for each smart furniture:

[0045] In the setting mode, the user walks along the edge of the target space. For example, if the target space is a rectangular living room, the user starts from point A at the edge of the living room, walks along the edge of the living room and returns to point A. The millimeter wave radar can record the user's walking trajectory at this time, and the control unit uses the user's walking trajectory to construct a coordinate map of the target space. It can be understood that if furniture is placed on the edge, the user's walking trajectory will walk along the edge of the furniture, rather than the edge of the living room. The shape of the edge of the coordinate map finally constructed is the actual walking trajectory of the user in the target space. Specifically, a visual interactive interface is also provided to show the user the coordinate map of the target space. The boundary of the coordinate map is the user's walking trajectory, and the user can draw the outline of the area to be preset in the visual interactive interface. Then identify whether the outline is a closed trajectory. If so, the area in the closed outline is used as the preset area; if not, the two ends of the outline are connected to the nearest edge points of the coordinate map to form a closed area, and the area with a smaller area is used as the preset area.

[0046] Another solution is that after obtaining the coordinate map, the user first stands near the smart furniture, and then triggers the automatic marking mode by manipulating the visual interactive interface. After entering the automatic marking mode, the trajectory of the user walking around the smart furniture is the outline of the preset area. When the user exits the automatic marking mode, it is identified whether the walking trajectory is a closed trajectory. If so, the area in the closed trajectory is used as the preset area; if not, the two ends of the walking trajectory are connected to the nearest edge points of the coordinate map to form a closed area, and the smaller area in it is used as the preset area.

[0047] Specifically, in one embodiment, the control unit is used to generate the coordinate trigger signal and send it to the main control module 13 when detecting that the static state of the user coordinates is staying in a preset area.

[0048] In another embodiment, the control unit is further used to generate the coordinate trigger signal and send it to the main control module 13 when it is detected that the motion state of the user coordinates is intended to move toward the preset area. Specifically, it can be predicted by trajectory prediction whether the current trajectory of the user's movement will intersect with the edge of the preset area within a preset time (for example, 1 second). If so, it is determined that the motion state of the user coordinates is intended to move toward the preset area. By predicting the user's intention, the action of the active components of the smart home can be controlled to stop in advance, thereby improving safety.

[0049] After determining the preset area, it is also necessary to identify whether the active parts of the smart furniture have moved. In order not to affect the original functions of the smart furniture, this embodiment does not identify whether the active parts of the smart furniture have moved by software. Instead, it is implemented in hardware. Specifically, the motion detection module includes an acceleration sensor for detecting whether the active parts of the smart furniture are moving. The acceleration sensor is fixedly connected to the active part and electrically connected to the main control module 13. The motion trigger signal is an electrical signal output by the acceleration sensor when it detects that the active parts of the smart furniture are moving. In another way, the motion detection module includes a current transformer for detecting whether the power supply circuit between the target motor and the power supply is turned on. The circuit transformer is electrically connected to the main control module 13. The motion trigger signal is an electrical signal output by the current transformer when it detects that the power supply circuit between the target motor and the power supply is turned on; wherein, the target motor is a motor used to drive the moving parts on the smart furniture to move.

[0050] In one embodiment, it is necessary to add a motor brake module to control the movable parts to stop moving. In order not to affect the original functions of the smart furniture, the idea adopted in this embodiment is: directly control the conduction or disconnection of the motor that drives the movable parts to stop the mechanical action of the movable parts. By controlling the conduction or disconnection of the target motor through hardware, it will not affect the normal use of other functions.

[0051] Specifically, in order to add an anti-pinch function to smart furniture that is not configured with the anti-pinch function during manufacturing without changing the appearance of the smart furniture and without destroying the original functions of the smart furniture, an anti-pinch control device for smart furniture provided in this embodiment includes:

[0052] A motion detection module, used to detect the state of the moving parts of the smart furniture and send a motion trigger signal to the main control module 13 when detecting that the moving parts of the smart furniture are in motion;

[0053] The user detection module is separately provided from the smart furniture and installed in the target space where the smart furniture is located, and is used to detect the state of the user coordinates and send a coordinate trigger signal to the main control module 13 when it is detected that the state of the user coordinates meets the preset conditions; the state of the user coordinates includes the motion state of the user coordinates or the static state of the user coordinates;

[0054] A motor brake module, which is connected to the control signal line and is used to disconnect the signal transmission path corresponding to the control signal line in response to a received brake signal; wherein the control signal line is a signal line connected between an output pin of the smart furniture microcontroller and a corresponding motor drive circuit and serves as a signal transmission path; the motor drive circuit is used to drive the corresponding motor to rotate so as to drive the movable part to move; and

[0055] The main control module 13 includes a memory, a processor, and a computer program stored in the memory and executable on the processor; when the processor executes the program, the following steps are implemented:

[0056] In response to the received motion trigger signal, marking the state of the smart furniture as being in motion;

[0057] In response to the received coordinate trigger signal, marking the user's state as being in a high risk state of being pinched;

[0058] When it is detected that the smart furniture is in motion and the user is at a high risk of being pinched, a braking signal is sent to the motor braking module.

[0059] The anti-pinch control device for smart furniture provided in this embodiment can detect the position of the user by only installing the user detection module in the target space where the smart furniture is located, without changing the appearance characteristics of the smart furniture; and because the user detection module and the smart furniture are installed separately, the installation position is not affected by the appearance characteristics of the smart furniture and the different structures of the active parts, which reduces the complexity of the installation process and improves the installation efficiency. At the same time, the signal transmission path between the output pin of the smart furniture microcontroller and the motor drive circuit can be directly disconnected through the motor brake module, thereby realizing the function of controlling the smart furniture to stop the action when the user position is detected to enter the preset range, without rewriting the software control program of the smart furniture MCU, and will not destroy the original function of the smart furniture.

[0060] The following provides corresponding embodiments of motor brake modules for different motor drive circuits on the market in conjunction with the accompanying drawings.

[0061] Example 1

[0062] like Figure 1 As shown, the motor drive circuit in this embodiment is named as the first motor drive circuit 10, and the first motor drive circuit 10 includes a first relay and a first drive unit for controlling the action of the first relay, and the first drive unit is electrically connected to the output pin P1 of the microcontroller through a control signal line, and the first drive unit is used to respond to the level signal output by the output pin P1 of the microcontroller to control the action of the first relay to turn on or off the power supply circuit between the motor and the power supply. The first motor drive circuit 10 can only control the on and off of the motor, and is suitable for the on and off control of DC or AC motors. Specifically, as Figure 1As shown, the first relay is a relay J0, the first driving unit includes a transistor Q0 and a resistor R0, the base of the transistor Q0 is connected to the first end of the resistor R0, the emitter is connected to the negative electrode of the DC power supply, the second end of the resistor R0 serves as the input end of the first driving unit, and is used to be electrically connected to the output pin P1 of the microcontroller; the relay J0 includes an electromagnet and a switch K0 controlled by the electromagnet to be turned on or off, the first end of the electromagnet is connected to the positive electrode of the DC power supply, the second end is connected to the collector of the transistor Q0, and the two ends of the switch K0 are connected to the control signal line; wherein, the relay J0 is in a normally open state.

[0063] Its working principle is as follows: when the output pin P1 of the microcontroller outputs a high level, the transistor Q0 is turned on, the coil of the electromagnet connected between the collector of the transistor Q0 and the positive pole of the DC power supply is energized, and the switch K0 of the relay J0 is attracted by the magnetic force and closed, turning on the power supply circuit between the motor and the power supply, and the motor rotates.

[0064] like Figure 2 and Figure 3 As shown, in this embodiment, the motor braking module is named as the first motor braking module 11. The first motor braking module 11 includes a braking relay J9 and a braking drive unit for controlling the action of the braking relay J9. The braking drive unit is electrically connected to the output pin of the main control module 13. The braking drive unit is used to respond to the level signal output by the output pin of the main control module 13 to control the action of the braking relay J9 to turn on or off the signal transmission path corresponding to the control signal line. Specifically, the braking drive unit includes a braking transistor Q9 and a braking resistor R16, the base of the braking transistor Q9 is connected to the first end of the braking resistor R16, and the emitter is connected to the negative pole of the DC power supply. The second end of the braking resistor R16 serves as the input end of the braking drive unit and is used to be electrically connected to the output pin of the main control module 13; the braking relay J9 includes a braking electromagnet and a braking switch K9 which is controlled to be turned on or off by the braking electromagnet, the first end of the braking electromagnet is connected to the positive pole of the DC power supply, and the second end is connected to the collector of the braking transistor Q9, and the two ends of the braking switch K9 are connected to the control signal line; wherein, the braking relay J9 is in a normally closed state.

[0065] Its working principle is as follows: when the output pin of the main control module 13 outputs a high level, the brake transistor Q9 is turned on, the coil of the brake electromagnet connected between the collector of the transistor Q9 and the positive pole of the DC power supply is energized, and the switch K9 of the brake relay J9 is disconnected by magnetic attraction, thereby disconnecting the signal transmission path corresponding to the control signal line. At this time, the base of the transistor Q0 changes from a high level to a low level, and the transistor Q0 changes from being turned on to being cut off, and the coil of the electromagnet connected between the collector of the transistor Q0 and the positive pole of the DC power supply is powered off, and the magnetic force disappears. The switch K0 of the relay J0 is only disconnected by the elastic force of the spring, thereby disconnecting the power supply circuit between the motor and the power supply, and the motor stops rotating. It can be seen that no matter what signal the output pin P1 of the microcontroller outputs at this time, it cannot drive the motor to rotate, and the risk of the user being pinched can be avoided. And because the brake relay J9 is in a normally closed state, when the device provided in this embodiment is powered off, it will not affect the original control of the smart furniture. After the transformation, it will not affect the original function of the smart furniture, and the stability is high.

[0066] like Figure 2 As shown, in this embodiment, the first motor brake module 11 is packaged as a three-terminal device having a first terminal B1, a second terminal B2 and a third terminal B3, wherein the two ends of the switch K9 serve as the first terminal B1 and the second terminal B2 respectively, and the second end of the resistor R16 serves as the third terminal B3. When in use, it is only necessary to connect the third terminal B3 to the output pin of the main control module 13, and the first terminal B1 and the second terminal B2 are connected to the control signal line, which is convenient for installation.

[0067] Example 2

[0068] like Figure 4 As shown, the motor drive circuit in this embodiment is named as the second motor drive circuit 21, and the second motor drive circuit 21 includes a second relay, a second drive unit for controlling the action of the second relay, a third relay, and a third drive unit for controlling the action of the third relay. The second drive unit and the third drive unit are electrically connected to the two output pins P1 and P2 of the microcontroller through two independent control signal lines, respectively. The second drive unit and the third drive unit are respectively used to respond to the level signals output by the two output pins P1 and P2 of the microcontroller to control the actions of the second relay and the third relay, respectively, so as to change the path of the current of the power supply when flowing through the winding of the motor, thereby controlling the forward and reverse rotation of the motor; the second motor drive circuit 21 is used to drive a single-phase AC motor and can control the forward and reverse rotation of the motor. Specifically, as Figure 4As shown, the second relay is relay J5, the third relay is relay J6, the second driving unit includes a transistor Q5 and a resistor R12, the base of the transistor Q5 is connected to the first end of the resistor R12, the emitter is connected to the negative electrode of the DC power supply, the second end of the resistor R12 is used as the input end of the second driving unit, and is used to be electrically connected to the output pin P1 of the microcontroller; the relay J5 includes an electromagnet and a switch K5 controlled by the electromagnet to be turned on or off, the first end of the electromagnet is connected to the positive electrode of the DC power supply, the second end is connected to the collector of the transistor Q5, and the two ends of the switch K5 are connected to the control signal line; wherein, the relay J5 is in a normally open state. The third driving unit includes a transistor Q6 and a resistor R13, wherein the base of the transistor Q6 is connected to the first end of the resistor R13, and the emitter is connected to the negative electrode of the DC power supply, and the second end of the resistor R13 serves as the input end of the third driving unit and is electrically connected to the output pin P2 of the microcontroller; the relay J6 includes an electromagnet and a switch K6 which is turned on or off by the electromagnet, wherein the first end of the electromagnet is connected to the positive electrode of the DC power supply, and the second end is connected to the collector of the transistor Q6, and the two ends of the switch K6 are connected to the control signal line; wherein the relay J6 is in a normally open state.

[0069] Its working principle is as follows: when the output pin P1 of the microcontroller outputs a high level and P2 outputs a low level, the transistor Q5 is turned on, the coil of the electromagnet connected between the collector of the transistor Q5 and the positive pole of the DC power supply is energized, and the switch K5 of the relay J5 is attracted and closed by the magnetic force; while the transistor Q6 is turned off, the coil of the electromagnet connected between the collector of the transistor Q6 and the positive pole of the DC power supply is not energized, and the switch K6 of the relay J6 is disconnected by the spring force. According to the pre-designed motor forward and reverse circuit, the path of the power supply current when flowing through the motor winding at this time controls the motor to rotate forward. If the motor is to be reversed, the output pin P1 of the microcontroller is controlled to output a low level and P2 to output a high level. At this time, the transistor Q6 is turned on, the coil of the electromagnet connected between the collector of the transistor Q6 and the positive pole of the DC power supply is energized, and the switch K6 of the relay J6 is attracted and closed by the magnetic force; while the transistor Q5 is turned off, the coil of the electromagnet connected between the collector of the transistor Q5 and the positive pole of the DC power supply is not energized, and the switch K5 of the relay J5 is disconnected by the spring force. According to the pre-designed motor forward and reverse circuit, the path of the power supply current when flowing through the winding of the motor controls the motor to reverse.

[0070] like Figure 5 and 6As shown, there are two motor brake modules, namely a second motor brake module 23 and a third motor brake module 24, each of which is connected to a control signal line; each motor brake module includes a brake relay and a brake drive unit for controlling the action of the brake relay, and the brake drive unit is electrically connected to the output pin of the main control module 13, and the brake drive unit is used to respond to the level signal output by the output pin of the main control module 13 to control the action of the brake relay to turn on or off the signal transmission path corresponding to the control signal line.

[0071] like Figure 5 and Figure 6 As shown, the circuit structures of the two motor brake modules are the same, and the second motor brake module 23 is used as an example for explanation. The second motor brake module 23 includes a brake relay J1 and a brake drive unit for controlling the action of the brake relay J1, and the brake drive unit is electrically connected to the output pin of the main control module 13, and the brake drive unit is used to respond to the level signal output by the output pin of the main control module 13 to control the action of the brake relay J1 to turn on or off the signal transmission path corresponding to the control signal line. Specifically, the braking drive unit includes a braking transistor Q3 and a braking resistor R11, the base of the braking transistor Q3 is connected to the first end of the braking resistor R11, and the emitter is connected to the negative pole of the DC power supply. The second end of the braking resistor R11 serves as the input end of the braking drive unit and is electrically connected to the output pin of the main control module 13; the braking relay J1 includes a braking electromagnet and a braking switch K1 which is turned on or off by the braking electromagnet. The first end of the braking electromagnet is connected to the positive pole of the DC power supply, and the second end is connected to the collector of the braking transistor Q3. The two ends of the braking switch K1 are connected to the control signal line; wherein, the braking relay J1 is in a normally closed state.

[0072] like Figure 6As shown, its working principle is as follows: for the second motor brake module 23, when the switch K3 is closed, when the output pin of the main control module 13 outputs a high level, the brake transistor Q3 is turned on, and the coil of the brake electromagnet connected between the collector of the transistor Q3 and the positive pole of the DC power supply is energized, and the switch K1 of the brake relay J1 is disconnected by the magnetic attraction, thereby disconnecting the signal transmission path corresponding to the control signal line. At this time, the base of the transistor Q5 changes from a high level to a low level, and the transistor Q5 changes from being on to being off, and the coil of the electromagnet connected between the collector of the transistor Q5 and the positive pole of the DC power supply is de-energized, the magnetic force disappears, and the switch K5 of the relay J5 is disconnected only by the elastic force of the spring. Similarly, for the third motor brake module 24, when the switch K4 is closed, when the output pin of the main control module 13 outputs a high level, the brake transistor Q4 is turned on, the coil of the brake electromagnet connected between the collector of the transistor Q4 and the positive pole of the DC power supply is energized, and the switch K2 of the brake relay J2 is disconnected by magnetic attraction, thereby disconnecting the signal transmission path corresponding to the control signal line. At this time, the base of the transistor Q6 changes from a high level to a low level, and the transistor Q6 changes from being turned on to being cut off, and the coil of the electromagnet connected between the collector of the transistor Q6 and the positive pole of the DC power supply is powered off, the magnetic force disappears, and the switch K6 of the relay J6 is disconnected only by the elastic force of the spring. At this time, both control signal lines are disconnected, and the motor stops rotating. It can be seen that at this time, no matter what signal the output pins P1 and P2 of the microcontroller output, the motor cannot be driven to rotate, which can avoid the risk of the user being pinched. And because the brake relays J1 and J2 are both in a normally closed state, even if the device provided in this embodiment is powered off, it will not affect the original control of the smart furniture. The original functions of the smart furniture will not be affected after the modification, and the stability is high.

[0073] like Figure 5 and 6As shown, the second motor brake module 23 and the third motor brake module 24 in this embodiment have the same structure and are both packaged as three-terminal devices. Specifically, for the convenience of distinction, the second motor brake module is packaged as a three-terminal device with a first end G1, a second end G2 and a third end G3, wherein the two ends of the switch K1 are respectively used as the first end G1 and the second end G2, and the second end of the resistor R11 is used as the third end G3. The third motor brake module is packaged as a three-terminal device with a first end F1, a second end F2 and a third end F3, wherein the two ends of the switch K2 are respectively used as the first end F1 and the second end F2, and the second end of the resistor R10 is used as the third end F3. When in use, it is only necessary to connect the third end G3 of the second motor brake module 23 to the output pin of the main control module 13, the first end G1 and the second end G2 are connected to the control signal line connected to the pin P1, and the third end F3 of the third motor brake module 24 is connected to the output pin of the main control module 13, and the first end F1 and the second end F2 are connected to the control signal line connected to the pin P1, which is convenient for installation.

[0074] Example 3

[0075] like Figure 7 As shown, the motor drive circuit in this embodiment is named as the third motor drive circuit 31, and the third motor drive circuit 31 includes a fourth relay, a fourth drive unit for controlling the action of the fourth relay, a fifth relay, a fifth drive unit for controlling the action of the fifth relay, a sixth relay, a sixth drive unit for controlling the action of the sixth relay, a seventh relay, and a seventh drive unit for controlling the action of the seventh relay; the fourth drive unit, the fifth drive unit, the sixth drive unit, and the seventh drive unit are respectively electrically connected to the four output pins of the microcontroller through four independent control signal lines, and the fourth drive unit, the fifth drive unit, the sixth drive unit, and the seventh drive unit are respectively used to respond to the level signals output by the four output pins of the microcontroller to control the actions of the fourth relay, the fifth relay, the sixth relay, and the seventh relay, so as to change the path of the current of the power supply when flowing through the winding of the motor, thereby controlling the forward and reverse rotation of the motor; the motor drive circuit is used to drive a three-phase motor and can control the forward and reverse rotation of the motor.

[0076] Working principle Figure 7As shown, when the level signal output by the four output pins P1, P2, P3, and P4 of the microcontroller is 1010 (i.e., the level is: high-low-high-low), switches K10 and K7 are turned on, and switches K11 and K8 are turned off. At this time, the path of the current flowing through the winding of the motor causes the motor to rotate forward; when the level signal output by the four output pins P1, P2, P3, and P4 of the microcontroller is 0101 (i.e., the level is: low-high-low-high), switches K10 and K7 are turned off, and switches K11 and K8 are turned on. At this time, the path of the current flowing through the winding of the motor causes the motor to reverse.

[0077] like Figure 8 As shown, the number of the motor brake modules is four, and each motor brake module is connected to a control signal line; each motor brake module includes a brake relay and a brake drive unit for controlling the action of the brake relay, and the brake drive unit is electrically connected to the output pin of the main control module 13, and the brake drive unit is used to respond to the level signal output by the output pin of the main control module 13 to control the action of the brake relay to turn on or off the signal transmission path corresponding to the control signal line. The motor brake module in this embodiment has the same structure as that in Example 2. Specifically, the motor brake module in this embodiment has the same circuit structure as the motor brake module in Example 2, and the packaged three-terminal device structure is also the same. For details of the specific structure, see Figure 5 and Figure 6 , I will not go into details here. For details on the connection between the motor brake module and each control signal line, see Figure 8 .

[0078] Its working principle is as follows: Figure 8 As shown, when a motor brake module is connected to each of the four control signal lines, the four control signal lines can be controlled by the main control module 13 and disconnected, so that the motor stops rotating. It can be seen that at this time, no matter what signal the output pins P1, P2, P3, and P4 of the microcontroller output, the motor cannot be driven to rotate, which can avoid the risk of the user being pinched. And because the brake relays J1 and J2 are both in the normally closed state, when the device provided in this embodiment is powered off, it will not affect the original control of the smart furniture. After the transformation, the original function of the smart furniture is not affected, and the stability is high.

[0079] It should also be noted that, for Embodiment 2 and Embodiment 3, since it is necessary to control the forward and reverse rotation of the motor, an interlocking function needs to be provided, that is, for Embodiment 2, Figure 6 The relays J5 and J6 are not allowed to be turned on at the same time. For Example 3, Figure 7The relays J7 and J8 are not allowed to be turned on at the same time, and the relays J10 and J11 are not allowed to be turned on at the same time. Therefore, if the smart furniture to be modified does not provide an interlocking function, it is necessary to add an interlocking module 22 to it to realize the interlocking function. Figure 5 As shown, the first end H1 and the second end H2 of the interlocking module 22 are respectively connected to the two output pins P1P2 on the microcontroller that need to be interlocked; the third end H3 and the fourth end H4 of the interlocking module 22 are connected to one of the control signal lines, and the fifth end H5 and the sixth end H6 of the interlocking module 22 are connected to the other control signal line; wherein, the two output pins P1P2 on the microcontroller that need to be interlocked respectively output level signals for driving the two relays (J5 and J6) in the motor drive circuit to act, and transmit the corresponding level signals to the drive units of the two relays (J5 and J6) in the second motor drive circuit 21 through the two control signal lines;

[0080] When the level signals of the two output pins P1P2 that need to be interlocked on the microcontroller form a preset interlock signal, the third terminal H3 and the fourth terminal H4, the fifth terminal H5 and the sixth terminal H6 of the interlock module 22 respectively disconnect the signal transmission paths corresponding to the two control signal lines, so that the two relays (J5 and J6) in the second motor drive circuit 21 cannot be in a closed state at the same time;

[0081] The preset interlock signal can make the two relays (J5 and J6) in the second motor drive circuit 21 in a closed state at the same time when the signal transmission paths corresponding to the two control signal lines are both turned on.

[0082] Specifically, the interlocking module 22 in Embodiment 2 and Embodiment 3 has the same circuit structure. Figure 6 As shown, the interlocking module 22 includes an operational amplifier A1, a resistor R1, a resistor R2, a resistor R3, a resistor R4, an operational amplifier A2, an operational amplifier A3, a resistor R5, a resistor R6, a resistor R7, a relay J3, a transistor Q1, a resistor R9, a relay J4, a transistor Q2, and a resistor R8; the relay J3 includes an electromagnet and a switch K3 which is turned on or off by the electromagnet, and the relay J4 includes an electromagnet and a switch K4 which is turned on or off by the electromagnet.

[0083] The inverting input terminal of the operational amplifier A1 is respectively connected to the first end of the resistor R1 and the first end of the resistor R3, the non-inverting input terminal of the operational amplifier A1 is respectively connected to the first end of the resistor R2 and the first end of the resistor R4, the second end of the resistor R3 is connected to the output terminal of the operational amplifier A1, and the second end of the resistor R4 is connected to the negative electrode of the DC power supply; the second end of the resistor R2 is used as the first end of the interlocking module 22, and the second end of the resistor R1 is used as the second end of the interlocking module 22.

[0084] The inverting input terminal of the operational amplifier A2 is connected to the output terminal of the operational amplifier A2, and the non-inverting input terminal of the operational amplifier A2 is connected to the output terminal of the operational amplifier A1; the first end of the resistor R9 is connected to the output terminal of the operational amplifier A2, the base of the transistor Q1 is connected to the second end of the resistor R9, the emitter is connected to the negative electrode of the DC power supply, the collector is connected to the first end of the electromagnet in the relay J3, and the second end of the electromagnet in the relay J3 is connected to the positive electrode of the DC power supply; the first end and the second end of the switch K3 are used as the fifth end and the sixth end of the interlocking module 22 respectively;

[0085] The inverting input terminal of the operational amplifier A3 is connected to the first end of the resistor R5 and the first end of the resistor R6 respectively, the non-inverting input terminal of the operational amplifier A3 is connected to the first end of the resistor R7, the second end of the resistor R5 is connected to the output terminal of the operational amplifier A1, the second end of the resistor R6 is connected to the output terminal of the operational amplifier A3, and the second end of the resistor R7 is connected to the negative electrode of the DC power supply; the first end of the resistor R8 is connected to the output terminal of the operational amplifier A3, the base of the transistor Q2 is connected to the second end of the resistor R8, the emitter is connected to the negative electrode of the DC power supply, the collector is connected to the first end of the electromagnet in the relay J4, and the second end of the electromagnet in the relay J4 is connected to the positive electrode of the DC power supply; the first end and the second end of the switch K4 are respectively used as the third end and the fourth end of the interlocking module 22.

[0086] When the preset interlock signal is 11 (i.e. both relays (J3 and J4) in the motor drive circuit are in a closed state in response to the microcontroller's output pin outputting a high level), the working principle is as follows:

[0087] When the output pins P1 and P2 of the microcontroller are both at high level (marked as 11, the high level is 5V and the low level is 0V in this embodiment), the two high level signals are respectively input to the positive phase input terminal and the negative phase input terminal of the operational amplifier A1, and the output terminal of the operational amplifier A1 outputs a low level signal, and the low level signal is respectively input to the positive phase input terminal of the operational amplifier A2 and the negative phase input terminal of the operational amplifier A3, and the output terminal of the operational amplifier A2 outputs a low level signal, and the output terminal of the operational amplifier A3 outputs a low level signal, so the switch K3 of the relay J3 is disconnected and the switch K4 of the relay J4 is disconnected. At this time, the signal transmission paths corresponding to the two control signal lines connected to the output pins P1P2 of the microcontroller are disconnected, so as to realize interlocking when the output pins P1P2 of the microcontroller are both at a high level. That is, when the level signals of the two output pins P1P2 on the microcontroller that need to be interlocked constitute a preset interlocking signal 11, the third terminal H3 and the fourth terminal H4, the fifth terminal H5 and the sixth terminal H6 of the interlocking module 22 respectively disconnect the signal transmission paths corresponding to the two control signal lines, so that the switches K5 and K6 of the two relays (J5 and J6) in the motor drive circuit cannot be in a closed state at the same time, and the motor does not rotate.

[0088] When the output pins P1P2 of the microcontroller are at high and low levels (marked as 10, the high level is 5V and the low level is 0V in this embodiment), the high and low level signals are respectively input to the positive input terminal and the negative input terminal of the operational amplifier A1, and the output terminal of the operational amplifier A1 outputs a high level signal, which is respectively input to the positive input terminal of the operational amplifier A2 and the negative input terminal of the operational amplifier A3, and a high level signal is output at the output terminal of the operational amplifier A2, and a -5V level signal is output at the output terminal of the operational amplifier A3, so the switch K3 of the relay J3 is closed and the switch K4 of the relay J4 is disconnected. At this time, the signal transmission path corresponding to a control signal line connected to the output pin P1 of the microcontroller is turned on, and the signal transmission path corresponding to another control signal line connected to the output pin P2 of the microcontroller is disconnected, so that the switch K5 of the relay J5 in the motor drive circuit is in a closed state and the switch K6 of the relay J6 in the motor drive circuit is in an open state. According to the pre-designed motor forward and reverse circuit, at this time, the path of the current of the power supply when flowing through the winding of the motor controls the motor to rotate forward.

[0089] When the output pins P1P2 of the microcontroller are at a low or high level (marked as 01, the high level is 5V and the low level is 0V in this embodiment), the low and high level signals are respectively input to the positive input terminal and the negative input terminal of the operational amplifier A1, and the output terminal of the operational amplifier A1 outputs a -5V level signal, which is respectively input to the positive input terminal of the operational amplifier A2 and the negative input terminal of the operational amplifier A3, and a -5V level signal is output at the output terminal of the operational amplifier A2, and a high level signal is output at the output terminal of the operational amplifier A3, so the switch K3 of the relay J3 is disconnected and the switch K4 of the relay J4 is closed, at this time, the signal transmission path corresponding to a control signal line connected to the output pin P1 of the microcontroller is disconnected, and the signal transmission path corresponding to another control signal line connected to the output pin P2 of the microcontroller is turned on, so that the switch K5 of the relay J5 in the motor drive circuit is in an open state and the switch K6 of the relay J6 in the motor drive circuit is in a closed state, according to the pre-designed motor forward and reverse circuit, at this time, the path of the current of the power supply when flowing through the winding of the motor controls the motor to reverse.

[0090] When the output pins P1P2 of the microcontroller are both at low level (marked as 00, the high level is 5V and the low level is 0V in this embodiment), the two low level signals are respectively input to the positive phase input terminal and the negative phase input terminal of the operational amplifier A1, and the output terminal of the operational amplifier A1 outputs a low level signal, which is respectively input to the positive phase input terminal of the operational amplifier A2 and the negative phase input terminal of the operational amplifier A3, and the low level signal is output at the output terminal of the operational amplifier A2, and the low level signal is output at the output terminal of the operational amplifier A3, so the switch K3 of the relay J3 is disconnected and the switch K4 of the relay J4 is disconnected. At this time, the signal transmission paths corresponding to the two control signal lines connected to the output pins P1P2 of the microcontroller are disconnected, so that the switches K5 and K6 of the two relays (J5 and J6) in the motor drive circuit are simultaneously in the disconnected state, and the motor does not rotate.

[0091] From the above, it can be seen that when the preset interlocking signal is 11, the interlocking module 22 provided in this embodiment can realize the interlocking function without affecting the original forward and reverse control of the smart furniture (that is, when pin P1P2 outputs 10 or 01 signal, the forward and reverse rotation of the motor can be normally controlled), which not only improves the safety of the smart furniture, but also does not affect the original functions of the smart furniture.

[0092] Example 4

[0093] Since the control signal encoding of the motor drive circuit in different intelligent furniture is different, for example, when the interlocking module 22 is not installed, the following situations are included: when the two pins P1P2 of the microcontroller are 11 (high level), both relays are turned on; when the two pins P1P2 of the microcontroller are 00 (low level), both relays are turned on; when the two pins P1P2 of the microcontroller are 10 (high and low level), both relays are turned on; when the two pins P1P2 of the microcontroller are 01 (low and high level), both relays are turned on. It can be seen that for different situations, different interlocking modules 22 are generally required, which will cause the efficiency of the transformation process to decrease. For example, the transformation master needs to carry interlocking modules 22 that meet various situations, or it takes time to study specific wiring methods for different situations. In this regard, an interlocking module 22 with a programming function is provided in this embodiment, which is suitable for interlocking in the above-mentioned various situations, and does not need to change the wiring method for different situations, which improves the efficiency of the transformation process.

[0094] like Fig. 9 As shown, the interlocking module 22 in this embodiment includes an operational amplifier A1, a resistor R1, a resistor R2, a resistor R3, a resistor R4, an operational amplifier A2, an operational amplifier A3, a resistor R5, a resistor R6, a resistor R7, a relay J3, a transistor Q1, a resistor R9, a relay J4, a transistor Q2, a resistor R8, a transistor Q12, a resistor R19, a transistor Q13, a resistor R20, a transistor Q14, a transistor Q15, a transistor Q16, a resistor R21, a resistor R22, a resistor R23 and an encoding unit; the encoding unit includes a double-pole double-throw switch SW1, a single-pole double-throw switch SW2, a single-pole double-throw switch SW3, and a single-pole double-throw switch SW4; the relay J3 includes an electromagnet and a switch K3 controlled by the electromagnet to be turned on or off, and the relay J4 includes an electromagnet and a switch K4 controlled by the electromagnet to be turned on or off.

[0095] The base of the transistor Q12 is connected to the first end of the resistor R19 and the base of the transistor Q14 respectively, the emitter is connected to the positive electrode of the DC power supply, the collector of the transistor Q14, and the first end of the resistor R21 respectively, and the collector is connected to the collector of the transistor Q13; the base of the transistor Q13 is connected to the first end of the resistor R20 and the base of the transistor Q15 respectively, the emitter is connected to the collector of the transistor Q15, the first end of the resistor R22, and the first end of the resistor R23 respectively; the emitter of the transistor Q14 is connected to the emitter of the transistor Q15; the base of the transistor Q16 is connected to the second end of the resistor R22, the emitter is connected to the negative electrode of the DC power supply, and the collector is connected to the second end of the resistor R21; the second end of the resistor R23 is connected to the negative electrode of the DC power supply.

[0096] The inverting input terminal of the operational amplifier A1 is connected to the first end of the resistor R1 and the first end of the resistor R3 respectively, the non-inverting input terminal of the operational amplifier A1 is connected to the first end of the resistor R2 and the first end of the resistor R4 respectively, the second end of the resistor R3 is connected to the output terminal of the operational amplifier A1, and the second end of the resistor R4 is connected to the negative electrode of the DC power supply.

[0097] The first input end of the double-pole double-throw switch SW1 is used as the first end of the interlock module 22, and the second input end is used as the second end of the interlock module 22; the first output end of the double-pole double-throw switch SW1 is connected to the second end of the resistor R2, the second output end of the double-pole double-throw switch SW1 is connected to the resistor R19, the third output end of the double-pole double-throw switch SW1 is connected to the resistor R1, and the fourth output end of the double-pole double-throw switch SW1 is connected to the resistor R20.

[0098] The first output terminal of the single-pole double-throw switch SW2 is connected to the output terminal of the operational amplifier A1, the second output terminal is connected to the collector of the transistor Q16, and the input terminal is respectively connected to the second end of the resistor R5 and the non-inverting input terminal of the operational amplifier A2.

[0099] The inverting input terminal of the operational amplifier A2 is connected to the output terminal of the operational amplifier A2; the first end of the resistor R9 is connected to the output terminal of the operational amplifier A2; the inverting input terminal of the operational amplifier A3 is respectively connected to the first end of the resistor R5 and the first end of the resistor R6, the non-inverting input terminal of the operational amplifier A3 is connected to the first end of the resistor R7, the second end of the resistor R6 is connected to the output terminal of the operational amplifier A3, and the second end of the resistor R7 is connected to the negative electrode of the DC power supply; the first end of the resistor R8 is connected to the output terminal of the operational amplifier A3.

[0100] The first output end of the single-pole double-throw switch SW3 is connected to the second end of the resistor R8, the second output end is connected to the second end of the resistor R9, and the input end is connected to the base of the transistor Q2; the emitter of the transistor Q2 is connected to the negative electrode of the DC power supply, the collector is connected to the first end of the electromagnet in the relay J4, and the second end of the electromagnet in the relay J4 is connected to the positive electrode of the DC power supply; the first end and the second end of the switch K4 are respectively used as the third end and the fourth end of the interlocking module 22.

[0101] The first output end of the single-pole double-throw switch SW4 is connected to the second end of the resistor R9, the second output end is connected to the second end of the resistor R8, and the input end is connected to the base of the transistor Q1; the emitter of the transistor Q1 is connected to the negative electrode of the DC power supply, the collector is connected to the first end of the electromagnet in the relay J3, and the second end of the electromagnet in the relay J3 is connected to the positive electrode of the DC power supply; the first end and the second end of the switch K3 are respectively used as the fifth end and the sixth end of the interlocking module 22.

[0102] The interlocking module 22 provided in the above embodiment is suitable for the motor drive circuit when the preset interlocking signal is 11. However, during the modification process, the preset interlocking signals of different smart furniture may be different, which can be divided into four cases, that is, the preset interlocking signals are: 11, 00, 10, 01. For different situations, different interlocking modules 22 are often required, which brings inconvenience to the modification and installation process. In this regard, the interlocking module 22 with programming function provided in this embodiment can be used for the above different situations with only one interlocking module 22, and the wiring method for all situations does not need to be changed, which greatly facilitates the modification process.

[0103] It should be noted that the four switches, namely, the double-pole double-throw switch SW1, the single-pole double-throw switch SW2, the single-pole double-throw switch SW3, and the single-pole double-throw switch SW4, all include two states, namely, the first state and the second state. Fig. 9 As shown, when the double-pole double-throw switch SW1 is in the first state, the first input end of the double-pole double-throw switch SW1 is connected to the first output end, and the second input end is connected to the third output end; when the double-pole double-throw switch SW1 is in the second state, the first input end of the double-pole double-throw switch SW1 is connected to the second output end, and the second input end is connected to the fourth output end. When the single-pole double-throw switch SW2 is in the first state, the input end of the single-pole double-throw switch SW2 is connected to the first output end; when the single-pole double-throw switch SW2 is in the second state, the input end of the single-pole double-throw switch SW2 is connected to the second output end. When the single-pole double-throw switch SW3 is in the first state, the input end of the single-pole double-throw switch SW3 is connected to the first output end; when the single-pole double-throw switch SW3 is in the second state, the input end of the single-pole double-throw switch SW3 is connected to the second output end. When the single-pole double-throw switch SW4 is in the first state, the input end of the single-pole double-throw switch SW4 is connected to the first output end; when the single-pole double-throw switch SW4 is in the second state, the input end of the single-pole double-throw switch SW4 is connected to the second output end.

[0104] Specifically, when the double-pole double-throw switch SW1 or the single-pole double-throw switch SW2 or the single-pole double-throw switch SW3 or the single-pole double-throw switch SW4 is in the first state, the code of the corresponding switch state is recorded as 0; when the double-pole double-throw switch SW1 or the single-pole double-throw switch SW2 or the single-pole double-throw switch SW3 or the single-pole double-throw switch SW4 is in the second state, the code of the corresponding switch state is recorded as 1. Fig. 9 The four switches shown in the figure, namely the double-pole double-throw switch SW1, the single-pole double-throw switch SW2, the single-pole double-throw switch SW3, and the single-pole double-throw switch SW4, are all in the first state. Therefore, the states of the double-pole double-throw switch SW1, the single-pole double-throw switch SW2, the single-pole double-throw switch SW3, and the single-pole double-throw switch SW4 are encoded as 0000.

[0105] The working principle of the interlocking module 22 with programming function provided in this embodiment is as follows:

[0106] 1. When the preset interlock signal is 11, the states of the double-pole double-throw switch SW1, the single-pole double-throw switch SW2, the single-pole double-throw switch SW3, and the single-pole double-throw switch SW4 are coded as 0000. In this coded state, the working principle is the same as in the above embodiment. Figure 6 In this coding mode, the interlocking of switches K5 and K6 in the motor drive circuit corresponding to the preset interlocking signal 11 can be achieved.

[0107] Second, when the preset interlock signal is 00, the states of the double-pole double-throw switch SW1, the single-pole double-throw switch SW2, the single-pole double-throw switch SW3, and the single-pole double-throw switch SW4 are coded as 0011. In this coded state, when the output pins P1P2 of the microcontroller are both at a low level (marked as 00, the high level is 5V and the low level is 0V in this embodiment), two low-level signals are respectively input to the positive-phase input terminal and the inverting input terminal of the operational amplifier A1, and the output terminal of the operational amplifier A1 outputs a low-level signal, and the low-level signal is respectively input to the positive-phase input terminal of the operational amplifier A2 and the inverting input terminal of the operational amplifier A3, and a low-level signal is output at the output terminal of the operational amplifier A2. The output end of amplifier A3 outputs a low-level signal, so the switch K3 of relay J3 is disconnected and the switch K4 of relay J4 is disconnected. At this time, the signal transmission paths corresponding to the two control signal lines connected to the output pin P1P2 of the microcontroller are disconnected, thereby realizing interlocking when the output pin P1P2 of the microcontroller is at a high level at the same time. That is, when the level signals of the two output pins P1P2 on the microcontroller that need to be interlocked constitute the preset interlock signal 00, the third end H3 and the fourth end H4, the fifth end H5 and the sixth end H6 of the interlocking module 22 respectively disconnect the signal transmission paths corresponding to the two control signal lines, so that the switches of the two relays in the motor drive circuit cannot be in a closed state at the same time, and the motor does not rotate.

[0108] When the output pins P1P2 of the microcontroller are at high and low levels (marked as 10, in this embodiment, the high level is 5V and the low level is 0V), the high and low level signals are respectively input to the positive input terminal and the negative input terminal of the operational amplifier A1, and the output terminal of the operational amplifier A1 outputs a high level signal, which is respectively input to the positive input terminal of the operational amplifier A2 and the negative input terminal of the operational amplifier A3, and the output terminal of the operational amplifier A2 outputs a high level signal, and the output terminal of the operational amplifier A3 outputs a -5V level signal, so the switch K3 of the relay J3 is disconnected. And the switch K4 of relay J4 is closed, at this time, the signal transmission path corresponding to a control signal line connected to the output pin P1 of the microcontroller is disconnected, and the signal transmission path corresponding to another control signal line connected to the output pin P2 of the microcontroller is turned on, so that the switch of the relay controlled by the output pin P2 in the motor drive circuit is in a closed state and the switch of the relay controlled by the output pin P1 in the motor drive circuit is in an open state. According to the pre-designed motor forward and reverse circuit, at this time, the path of the power supply current when flowing through the winding of the motor controls the motor to rotate forward.

[0109] When the output pins P1P2 of the microcontroller are at a low or high level (marked as 01, in this embodiment, the high level is 5V and the low level is 0V), the low and high level signals are respectively input to the positive input terminal and the negative input terminal of the operational amplifier A1, and the output terminal of the operational amplifier A1 outputs a -5V level signal, which is respectively input to the positive input terminal of the operational amplifier A2 and the negative input terminal of the operational amplifier A3, and the output terminal of the operational amplifier A2 outputs a -5V level signal, and the output terminal of the operational amplifier A3 outputs a high level signal, so the switch K3 of the relay J3 is turned on. The switch K4 of relay J4 is turned on and off. At this time, the signal transmission path corresponding to a control signal line connected to the output pin P1 of the microcontroller is turned on, while the signal transmission path corresponding to another control signal line connected to the output pin P2 of the microcontroller is turned off, so that the switch of the relay controlled by the output pin P2 in the motor drive circuit is in an open state and the switch of the relay controlled by the output pin P1 in the motor drive circuit is in a closed state. According to the pre-designed motor forward and reverse circuit, the path of the power supply current when flowing through the winding of the motor controls the motor to reverse.

[0110] 3. When the preset interlock signal is 10, the states of the double-pole double-throw switch SW1, the single-pole double-throw switch SW2, the single-pole double-throw switch SW3, and the single-pole double-throw switch SW4 are coded as 1110. In this coded state, when the output pins P1P2 of the microcontroller are at high and low levels (marked as 10, the high level is 5V and the low level is 0V in this embodiment), the high and low level signals are respectively input to the base of the transistor Q12 and the base of the transistor Q13, then the transistors Q12 and Q13 are turned off, the transistors Q14 and Q15 are turned on, and the transistor Q16 is turned on, and the second output end of the single-pole double-throw switch SW2 outputs a low level signal. The low-level signal is input to the non-phase input terminal of the operational amplifier A2, and a low-level signal is output at the output terminal of the operational amplifier A2. Therefore, the switch K3 of the relay J3 is disconnected and the switch K4 of the relay J4 is disconnected. At this time, the signal transmission paths corresponding to the two control signal lines connected to the output pin P1P2 of the microcontroller are disconnected, so as to realize the interlocking of the output pin P1P2 of the microcontroller when the output pin P1P2 is at a high or low level. That is, when the level signals of the two output pins P1P2 on the microcontroller that need to be interlocked constitute a preset interlocking signal 10, the third terminal H3 and the fourth terminal H4, the fifth terminal H5 and the sixth terminal H6 of the interlocking module 22 respectively disconnect the signal transmission paths corresponding to the two control signal lines, so that the switches of the two relays in the motor drive circuit cannot be in a closed state at the same time, and the motor does not rotate.

[0111] When the output pin P1P2 of the microcontroller is at a high level (marked as 11, the high level is 5V and the low level is 0V in this embodiment), the high level signal is input to the base of the transistor Q12 and the base of the transistor Q13 respectively, then the transistor Q12 and the transistor Q15 are turned off, the transistor Q13 and the transistor Q14 are turned on, and the transistor Q16 is turned off, and the second output end of the single-pole double-throw switch SW2 outputs a high level signal. The level signal is respectively input to the non-inverting input terminal of the operational amplifier A2 and the inverting input terminal of the operational amplifier A3, and a high level signal is output at the output terminal of the operational amplifier A2. Therefore, the switch K3 of the relay J3 is closed and the switch K4 of the relay J4 is closed. At this time, the signal transmission path corresponding to a control signal line connected to the output pin P1 of the microcontroller is turned on, and the signal transmission path corresponding to another control signal line connected to the output pin P2 of the microcontroller is also turned on. However, since the output pins P1P2 of the microcontroller both output a high level, the switch of the relay controlled by the output pin P1 in the motor drive circuit is in a closed state and the switch of the relay controlled by the output pin P2 in the motor drive circuit is in an open state. According to the pre-designed motor forward and reverse circuit, the path of the power supply current when flowing through the winding of the motor controls the motor to rotate forward.

[0112] When the output pin P1P2 of the microcontroller is at a low level (marked as 00, the high level is 5V and the low level is 0V in this embodiment), the low level signal is input to the base of the transistor Q12 and the base of the transistor Q13 respectively, then the transistor Q12 and the transistor Q15 are turned on, the transistor Q13 and the transistor Q14 are turned off, and the transistor Q16 is turned off, and the second output end of the single-pole double-throw switch SW2 outputs a high level signal. The level signal is respectively input to the non-phase input terminal of the operational amplifier A2 and the inverting input terminal of the operational amplifier A3, and a high level signal is output at the output terminal of the operational amplifier A2, so the switch K3 of the relay J3 is closed and the switch K4 of the relay J4 is closed. At this time, the signal transmission path corresponding to a control signal line connected to the output pin P1 of the microcontroller is turned on, and the signal transmission path corresponding to another control signal line connected to the output pin P2 of the microcontroller is also turned on. However, since the output pins P1P2 of the microcontroller both output low levels, the switch of the relay controlled by the output pin P1 in the motor drive circuit is in an off state and the switch of the relay controlled by the output pin P2 in the motor drive circuit is in an on state. According to the pre-designed motor forward and reverse circuit, the path of the power supply current when flowing through the winding of the motor controls the motor to reverse.

[0113] When the output pin P1P2 of the microcontroller is at a low or high level (marked as 01, the high level is 5V and the low level is 0V in this embodiment), the low and high level signals are respectively input to the base of transistor Q12 and the base of transistor Q13, then transistors Q12 and Q13 are turned on, transistors Q14 and Q15 are turned off, and transistor Q16 is turned on, and the second output end of the single-pole double-throw switch SW2 outputs a low level signal. The low level signal is input to the positive phase input end of the operational amplifier A2, and a low level signal is output at the output end of the operational amplifier A2, so the switch K3 of the relay J3 is turned off and the switch K4 of the relay J4 is turned off. At this time, the signal transmission paths corresponding to the two control signal lines connected to the output pin P1P2 of the microcontroller are both disconnected, so that the switches of the two relays in the motor drive circuit are simultaneously in the off state, and the motor does not rotate.

[0114] Fourth, when the preset interlock signal is 01, the states of the double-pole double-throw switch SW1, the single-pole double-throw switch SW2, the single-pole double-throw switch SW3, and the single-pole double-throw switch SW4 are coded as 1110. The principle is similar to that when the preset interlock signal is 01, and will not be repeated here.

[0115] From the above, it can be seen that the interlocking module 22 with programming function provided in this embodiment can be applied to the above-mentioned different situations using only one interlocking module 22, and the wiring method for all situations does not need to be changed. The installer only needs to adjust the states of the double-pole double-throw switch SW1, the single-pole double-throw switch SW2, the single-pole double-throw switch SW3, and the single-pole double-throw switch SW4 according to the interlocking signal corresponding to the two relays that need to be interlocked in the above-mentioned manner, which can be applicable to a variety of installation situations, greatly facilitating the modification process.

[0116] Example 5

[0117] like Fig.10 As shown, in this embodiment, a control method is also provided, which is applied to the anti-pinch control device for intelligent furniture described in the above embodiments 1 to 4, and the method includes:

[0118] Step S202: the main control module 13 marks the state of the smart furniture as being in motion in response to the received motion trigger signal.

[0119] Step S204 : the main control module 13 marks the user's state as being in a high risk state of being pinched in response to the received coordinate trigger signal.

[0120] Step S206: When the main control module 13 detects that the smart furniture is in motion and the user is at a high risk of being pinched, it sends a braking signal to the motor braking module.

[0121] The control method provided in this embodiment can detect the user's position by only installing the user detection module in the target space where the smart furniture is located, without changing the appearance characteristics of the smart furniture; and because the user detection module and the smart furniture are installed separately, the installation position is not affected by the appearance characteristics of the smart furniture and the different structures of the active parts, which reduces the complexity of the installation process and improves the installation efficiency. At the same time, the signal transmission path between the output pin of the smart furniture microcontroller and the motor drive circuit can be directly disconnected through the motor brake module, thereby realizing the function of controlling the smart furniture to stop the action when the user position is detected to enter the preset range, without rewriting the software control program of the smart furniture MCU, and will not destroy the original function of the smart furniture.

[0122] Example 6

[0123] It should be noted that during the modification process, the installer only needs to adjust the states of the double-pole double-throw switch SW1, the single-pole double-throw switch SW2, the single-pole double-throw switch SW3, and the single-pole double-throw switch SW4 according to the interlocking signal corresponding to the two relays that need to be interlocked in the above manner. When the user uses the smart furniture, these switches in the interlocking module may change their states due to reasons such as the user's accidental touch, which may affect the normal function of the smart furniture and lose the interlocking function. In this regard, this embodiment provides the following solution.

[0124] In this embodiment, the single-pole double-throw switch SW2, the single-pole double-throw switch SW3, and the single-pole double-throw switch SW4 are all implemented by a boat-type switch 50. Fig.11 and Fig.12 As shown, the states of the three single-pole double-throw switches can be changed by turning the button 51, wherein the conductive terminal X is the input terminal, the conductive terminal Y1 is the first output terminal, and the conductive terminal Y2 is the second output terminal. Fig.11 The rocker switch 50 is shown in a first state. Fig.12 The double-pole double-throw switch SW1 is implemented by a double-ganged rocker switch 60, which is composed of two independent rocker switches 50, which are respectively called the first rocker switch and the second rocker switch. Fig.13 and 14 The conductive terminal X of the first rocker switch 50 is the first input terminal, the conductive terminal Y1 is the first output terminal, and the conductive terminal Y2 is the second output terminal. The conductive terminal X of the second rocker switch 50 is the second input terminal, the conductive terminal Y1 is the third output terminal, and the conductive terminal Y2 is the fourth output terminal.

[0125] by Fig.11 For example, the structure of the rocker switch 50 is described. The rocker switch 50 includes a support shell 54, a button 51, and three conductive terminals X, Y1, and Y2. The upper ends of the three conductive terminals X, Y1, and Y2 are located inside the support shell 54, and the lower ends extend outside the support shell 54. The upper end of the support shell 54 has an opening, and a ring-shaped support sheet 55 is formed around the opening. The lower end of the button 51 extends into the support shell 54 through the opening and is connected to the metal contact sheet inside the support shell 54. The upper end of the button 51 is located outside the support shell 54. The button 51 is rotatably connected to the support shell 54 through an axis to form a seesaw structure. The left and right ends of the button 51 can be toggled to change the height of the left and right ends of the button 51 outside the support shell 54. When the button 51 is toggled, it can drive the metal contact sheet to connect the conductive terminals X and Y1 or connect the conductive terminals X and Y2. The rocker switch 50 is in a state where the button 51 is toggled. Fig.11 The first state shown can connect the conductive terminals X and Y2, and the button 51 is in Fig.12The second state shown can connect the conductive terminals X and Y1. The specific internal structure and principle belong to the prior art and will not be described here. The improvement of this embodiment is that two holes are set at the right end of the button 51 outside the support shell 54. The two holes have the same shape and size, and the axes of the two holes are parallel to the axis of the button 51 rotating around the support shell 54. The two holes are respectively an upper locking hole 52 and a lower locking hole 53. The position between the upper locking hole 52 and the lower locking hole 53 is constrained by the following relationship: when the rocker switch 50 is in the first state, there is a first distance between the axis of the lower locking hole 53 and the upper surface of the annular support sheet 55; when the rocker switch 50 is in the second state, there is also a first distance between the axis of the upper locking hole 52 and the upper surface of the annular support sheet 55. Among them, there is a second distance between the upper and lower surfaces of the annular support sheet 55, that is, the thickness of the annular support sheet 55 is equal to the second distance.

[0126] like Fig.14 As shown, the interlocking module with programming function is encapsulated in a plastic encapsulation shell 70, and the H1 end, H2 end, H3 end, H4 end, H5 end and H6 end extend out of the encapsulation shell 70 through metal terminals for connection with the circuit of the intelligent furniture. Support arms 72 protruding from the surface are respectively provided at both ends of the upper surface of the encapsulation shell 70, and a support through hole 73 is respectively provided on the two support arms 72. The two support through holes 73 are coaxial, and the two support through holes 73 on the two support arms 72 have the same height compared to the upper surface, which is H1. A total of four switches, including a double rocker switch 60 as switch SW1 and three rocker switches 50 as switches SW2, SW3, and SW4, are arranged in sequence between the two support arms 72 along the axis of the support through hole 73. Specifically, the upper surface of the packaging shell 70 has a mounting hole, the aperture of which is smaller than the size of the annular support sheet 55. When the lower ends of the support shells 54 of the rocker switch 50 and the double rocker switch 60 extend into the mounting hole, the support shells of the rocker switch 50 and the double rocker switch 60 are restricted from continuing to enter the packaging shell 70 due to the limiting effect of the annular support sheet 55, and then the rocker switch 50 and the double rocker switch 60 are fastened to the packaging shell 70 by means of gluing or screws. It can be seen that when the rocker switch 50 is in the first state, the distance between the axis of the lower locking hole 53 and the upper surface of the packaging shell 70 is equal to the sum of the first distance and the second distance; when the rocker switch 50 is in the second state, the distance between the axis of the upper locking hole 52 and the upper surface of the packaging shell 70 is equal to the sum of the first distance and the second distance. In this embodiment, the axis of the support through hole 73 has a third distance from the upper surface of the packaging shell 70, so that the third distance is equal to the sum of the first distance and the second distance. When all the rocker switches 50 are in the first state, the lower locking holes 53 and the supporting through holes 73 are coaxial, and the upper locking holes 52 , the lower locking holes 53 and the supporting through holes 73 have the same apertures.

[0127] The present embodiment also includes a locking rod 71, the diameter of which is slightly smaller than the diameters of the upper locking hole 52, the lower locking hole 53 and the supporting through hole 73. When the installer adjusts the states of the double-pole double-throw switch SW1, the single-pole double-throw switch SW2, the single-pole double-throw switch SW3 and the single-pole double-throw switch SW4 by toggling each rocker switch 50 in accordance with the interlocking signal corresponding to the two relays to be interlocked in the manner of the above-mentioned embodiment 4, one end of the locking rod 71 is passed through the upper locking hole 52 or the lower locking hole 53 of each rocker switch 50 from one of the supporting through holes 73 in turn, and finally through the other supporting through hole 73, so as to lock the programming function and prevent the user from accidentally touching the switches during use, thereby preventing the states of the switches from being changed. At the same time, as the rocker switch 50 ages, the spring therein may not be able to maintain the state of the switch. The solution provided in the present embodiment can keep the state of the rocker switch 50 unchanged when the spring and other components of the rocker switch 50 age, thereby improving the circuit stability. Fig.13 As shown, the switch SW1 is in the second state, the switch SW2 is in the second state, the switch SW3 is in the second state, and the switch SW4 is in the first state, which is encoded as 1110.

[0128] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the program can be stored in a non-volatile computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application may include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRA), memory bus (Rambus) direct RAM (RDRA), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).

[0129] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

Claims

1. An anti-pinch control device for intelligent furniture, characterized in that: The device comprises: A motion detection module, used to detect the state of the moving parts of the smart furniture and send a motion trigger signal to the main control module when detecting that the moving parts of the smart furniture are in motion; The user detection module is separately provided from the smart furniture and installed in the target space where the smart furniture is located, and is used to detect the state of the user coordinates and send a coordinate trigger signal to the main control module when it is detected that the state of the user coordinates meets the preset conditions; the state of the user coordinates includes the motion state of the user coordinates or the static state of the user coordinates; A motor brake module, which is connected to the control signal line and is used to disconnect the signal transmission path corresponding to the control signal line in response to a received brake signal; wherein the control signal line is a signal line connected between an output pin of the smart furniture microcontroller and a corresponding motor drive circuit and serves as a signal transmission path; the motor drive circuit is used to drive the corresponding motor to rotate so as to drive the movable part to move; and A main control module, the main control module includes a memory, a processor, and a computer program stored in the memory and executable on the processor; when the processor executes the program, the following steps are implemented: In response to the received motion trigger signal, marking the state of the smart furniture as being in motion; In response to the received coordinate trigger signal, marking the user's state as being in a high risk state of being pinched; When it is detected that the smart furniture is in motion and the user is at a high risk of being pinched, a braking signal is sent to the motor braking module; The motor drive circuit includes a first relay and a first drive unit for controlling the action of the first relay, the first drive unit is electrically connected to an output pin of a microcontroller via a control signal line, and the first drive unit is used to respond to a level signal output by the output pin of the microcontroller to control the action of the first relay to turn on or off a power supply circuit between the motor and the power supply; The motor braking module includes a braking relay and a braking drive unit for controlling the action of the braking relay. The braking drive unit is electrically connected to the output pin of the main control module. The braking drive unit is used to respond to the level signal output by the output pin of the main control module to control the action of the braking relay to turn on or off the signal transmission path corresponding to the control signal line.

2. The anti-pinch control device for intelligent furniture according to claim 1, characterized in that: The user detection module includes a control unit and a millimeter-wave radar or a camera electrically connected to the control unit, wherein the control unit is used to generate the coordinate trigger signal and send it to the main control module when detecting that the static state of the user coordinates is staying in the preset area; the control unit is also used to generate the coordinate trigger signal and send it to the main control module when detecting that the motion state of the user coordinates is intended to move toward the preset area; The motion detection module includes an acceleration sensor for detecting whether the moving parts of the smart furniture are moving, and the motion trigger signal is an electrical signal output by the acceleration sensor when the moving parts of the smart furniture are detected to be moving; or The motion detection module includes a current transformer for detecting whether the power supply circuit between the target motor and the power supply is conductive, and the motion trigger signal is an electrical signal output by the current transformer when it detects that the power supply circuit between the target motor and the power supply is conductive; wherein, the target motor is a motor used to drive the moving parts on the smart furniture to move.

3. The anti-pinch control device for intelligent furniture according to claim 1, characterized in that: The motor drive circuit includes a second relay, a second drive unit for controlling the action of the second relay, a third relay, and a third drive unit for controlling the action of the third relay, wherein the second drive unit and the third drive unit are electrically connected to two output pins of the microcontroller through two independent control signal lines, respectively, and the second drive unit and the third drive unit are respectively used to respond to the level signals output by the two output pins of the microcontroller to control the actions of the second relay and the third relay, respectively, so as to change the path of the current of the power supply when flowing through the winding of the motor, thereby controlling the forward and reverse rotation of the motor; There are two motor brake modules, and each motor brake module is connected to a control signal line; each motor brake module includes a brake relay and a brake drive unit for controlling the action of the brake relay, and the brake drive unit is electrically connected to the output pin of the main control module. The brake drive unit is used to respond to the level signal output by the output pin of the main control module to control the action of the brake relay to turn on or off the signal transmission path corresponding to the control signal line.

4. The anti-pinch control device for intelligent furniture according to claim 1, characterized in that: The motor drive circuit includes a fourth relay, a fourth drive unit for controlling the action of the fourth relay, a fifth relay, a fifth drive unit for controlling the action of the fifth relay, a sixth relay, a sixth drive unit for controlling the action of the sixth relay, a seventh relay, and a seventh drive unit for controlling the action of the seventh relay; the fourth drive unit, the fifth drive unit, the sixth drive unit, and the seventh drive unit are respectively electrically connected to four output pins of the microcontroller through four independent control signal lines, and the fourth drive unit, the fifth drive unit, the sixth drive unit, and the seventh drive unit are respectively used to respond to the level signals output by the four output pins of the microcontroller to control the actions of the fourth relay, the fifth relay, the sixth relay, and the seventh relay, so as to change the path of the current of the power supply when flowing through the winding of the motor, thereby controlling the forward and reverse rotation of the motor; There are four motor brake modules, and each motor brake module is connected to a control signal line; each motor brake module includes a brake relay and a brake drive unit for controlling the action of the brake relay, and the brake drive unit is electrically connected to the output pin of the main control module. The brake drive unit is used to respond to the level signal output by the output pin of the main control module to control the action of the brake relay to turn on or off the signal transmission path corresponding to the control signal line.

5. The anti-pinch control device for intelligent furniture according to claim 3 or 4, characterized in that: It also includes an interlocking module, wherein the first end and the second end of the interlocking module are respectively connected to two output pins on the microcontroller that need to be interlocked; the third end and the fourth end of the interlocking module are connected to one of the control signal lines, and the fifth end and the sixth end of the interlocking module are connected to another control signal line; wherein the two output pins on the microcontroller that need to be interlocked respectively output level signals for driving the two relays in the motor drive circuit to act, and transmit the corresponding level signals to the drive units of the two relays in the motor drive circuit through the two control signal lines respectively; When the level signals of the two output pins that need to be interlocked on the microcontroller form a preset interlock signal, the third and fourth ends, the fifth and sixth ends of the interlock module respectively disconnect the signal transmission paths corresponding to the two control signal lines, so that the two relays in the motor drive circuit cannot be in a closed state at the same time; The preset interlock signal can make the two relays in the motor drive circuit be in a closed state at the same time when the signal transmission paths corresponding to the two control signal lines are both turned on.

6. The anti-pinch control device for intelligent furniture according to claim 5, characterized in that: The interlocking module includes an operational amplifier A1, a resistor R1, a resistor R2, a resistor R3, a resistor R4, an operational amplifier A2, an operational amplifier A3, a resistor R5, a resistor R6, a resistor R7, a relay J3, a transistor Q1, a resistor R9, a relay J4, a transistor Q2, and a resistor R8; the relay J3 includes an electromagnet and a switch K3 controlled by the electromagnet to be turned on or off, and the relay J4 includes an electromagnet and a switch K4 controlled by the electromagnet to be turned on or off; The inverting input terminal of the operational amplifier A1 is respectively connected to the first end of the resistor R1 and the first end of the resistor R3, the non-inverting input terminal of the operational amplifier A1 is respectively connected to the first end of the resistor R2 and the first end of the resistor R4, the second end of the resistor R3 is connected to the output terminal of the operational amplifier A1, and the second end of the resistor R4 is connected to the negative electrode of the DC power supply; the second end of the resistor R2 is used as the first end of the interlocking module, and the second end of the resistor R1 is used as the second end of the interlocking module; The inverting input terminal of the operational amplifier A2 is connected to the output terminal of the operational amplifier A2, and the non-inverting input terminal of the operational amplifier A2 is connected to the output terminal of the operational amplifier A1; the first end of the resistor R9 is connected to the output terminal of the operational amplifier A2, the base of the transistor Q1 is connected to the second end of the resistor R9, the emitter is connected to the negative electrode of the DC power supply, the collector is connected to the first end of the electromagnet in the relay J3, and the second end of the electromagnet in the relay J3 is connected to the positive electrode of the DC power supply; the first end and the second end of the switch K3 are used as the fifth end and the sixth end of the interlocking module respectively; The inverting input terminal of the operational amplifier A3 is connected to the first end of the resistor R5 and the first end of the resistor R6 respectively, the non-inverting input terminal of the operational amplifier A3 is connected to the first end of the resistor R7, the second end of the resistor R5 is connected to the output terminal of the operational amplifier A1, the second end of the resistor R6 is connected to the output terminal of the operational amplifier A3, and the second end of the resistor R7 is connected to the negative electrode of the DC power supply; the first end of the resistor R8 is connected to the output terminal of the operational amplifier A3, the base of the transistor Q2 is connected to the second end of the resistor R8, the emitter is connected to the negative electrode of the DC power supply, the collector is connected to the first end of the electromagnet in the relay J4, and the second end of the electromagnet in the relay J4 is connected to the positive electrode of the DC power supply; the first end and the second end of the switch K4 are respectively used as the third end and the fourth end of the interlocking module.

7. The anti-pinch control device for intelligent furniture according to claim 5, characterized in that: The interlocking module includes an operational amplifier A1, a resistor R1, a resistor R2, a resistor R3, a resistor R4, an operational amplifier A2, an operational amplifier A3, a resistor R5, a resistor R6, a resistor R7, a relay J3, a transistor Q1, a resistor R9, a relay J4, a transistor Q2, a resistor R8, a transistor Q12, a resistor R19, a transistor Q13, a resistor R20, a transistor Q14, a transistor Q15, a transistor Q16, a resistor R21, a resistor R22, a resistor R23 and an encoding unit; the encoding unit includes a double-pole double-throw switch SW1, a single-pole double-throw switch SW2, a single-pole double-throw switch SW3, and a single-pole double-throw switch SW4; the relay J3 includes an electromagnet and a switch K3 controlled by the electromagnet to be turned on or off, and the relay J4 includes an electromagnet and a switch K4 controlled by the electromagnet to be turned on or off; The base of transistor Q12 is connected to the first end of resistor R19 and the base of transistor Q14 respectively, the emitter is connected to the positive electrode of the DC power supply, the collector of transistor Q14 and the first end of resistor R21 respectively, and the collector is connected to the collector of transistor Q13; the base of transistor Q13 is connected to the first end of resistor R20 and the base of transistor Q15 respectively, the emitter is connected to the collector of transistor Q15, the first end of resistor R22 and the first end of resistor R23 respectively; the emitter of transistor Q14 is connected to the emitter of transistor Q15; the base of transistor Q16 is connected to the second end of resistor R22, the emitter is connected to the negative electrode of the DC power supply, and the collector is connected to the second end of resistor R21; the second end of resistor R23 is connected to the negative electrode of the DC power supply; The inverting input terminal of the operational amplifier A1 is connected to the first end of the resistor R1 and the first end of the resistor R3 respectively, the non-inverting input terminal of the operational amplifier A1 is connected to the first end of the resistor R2 and the first end of the resistor R4 respectively, the second end of the resistor R3 is connected to the output terminal of the operational amplifier A1, and the second end of the resistor R4 is connected to the negative electrode of the DC power supply; The first input end of the double-pole double-throw switch SW1 is used as the first end of the interlock module, and the second input end is used as the second end of the interlock module; the first output end of the double-pole double-throw switch SW1 is connected to the second end of the resistor R2, the second output end of the double-pole double-throw switch SW1 is connected to the resistor R19, the third output end of the double-pole double-throw switch SW1 is connected to the resistor R1, and the fourth output end of the double-pole double-throw switch SW1 is connected to the resistor R20; The first output terminal of the single-pole double-throw switch SW2 is connected to the output terminal of the operational amplifier A1, the second output terminal is connected to the collector of the transistor Q16, and the input terminal is respectively connected to the second end of the resistor R5 and the non-inverting input terminal of the operational amplifier A2; The inverting input terminal of the operational amplifier A2 is connected to the output terminal of the operational amplifier A2; the first terminal of the resistor R9 is connected to the output terminal of the operational amplifier A2; The inverting input terminal of the operational amplifier A3 is connected to the first end of the resistor R5 and the first end of the resistor R6 respectively, the non-inverting input terminal of the operational amplifier A3 is connected to the first end of the resistor R7, the second end of the resistor R6 is connected to the output terminal of the operational amplifier A3, and the second end of the resistor R7 is connected to the negative electrode of the DC power supply; the first end of the resistor R8 is connected to the output terminal of the operational amplifier A3; The first output end of the single-pole double-throw switch SW3 is connected to the second end of the resistor R8, the second output end is connected to the second end of the resistor R9, and the input end is connected to the base of the transistor Q2; the emitter of the transistor Q2 is connected to the negative electrode of the DC power supply, the collector is connected to the first end of the electromagnet in the relay J4, and the second end of the electromagnet in the relay J4 is connected to the positive electrode of the DC power supply; the first end and the second end of the switch K4 are used as the third end and the fourth end of the interlocking module respectively; The first output end of the single-pole double-throw switch SW4 is connected to the second end of the resistor R9, the second output end is connected to the second end of the resistor R8, and the input end is connected to the base of the transistor Q1; the emitter of the transistor Q1 is connected to the negative electrode of the DC power supply, the collector is connected to the first end of the electromagnet in the relay J3, and the second end of the electromagnet in the relay J3 is connected to the positive electrode of the DC power supply; the first end and the second end of the switch K3 are respectively used as the fifth end and the sixth end of the interlocking module.

8. The anti-pinch control device for intelligent furniture according to claim 1, 3 or 4, characterized in that: The brake drive unit comprises a brake transistor and a brake resistor, the base of the brake transistor is connected to the first end of the brake resistor, the emitter is connected to the negative electrode of the DC power supply, and the second end of the brake resistor serves as the input end of the brake drive unit and is used to be electrically connected to the output pin of the main control module; The brake relay includes a brake electromagnet and a brake switch which is controlled to be turned on or off by the brake electromagnet. The first end of the brake electromagnet is connected to the positive pole of the DC power supply, and the second end is connected to the collector of the brake transistor. The two ends of the brake switch are connected to the control signal line; wherein the brake relay is in a normally closed state.

9. A control method, characterized in that: The method applied to the anti-pinch control device for intelligent furniture as described in any one of claims 1 to 8 above comprises: The main control module marks the state of the smart furniture as being in motion in response to the received motion trigger signal; The main control module marks the user's state as being in a high risk state of being pinched in response to the received coordinate trigger signal; When the main control module detects that the smart furniture is in motion and the user is at high risk of being pinched, it sends a braking signal to the motor braking module.