Valve body device, beverage machine, beverage machine control method, and related apparatus
A valve body device includes a valve body assembly including a feed flow path and a plurality of discharge flow paths, and a valve core assembly rotatably provided at the valve body assembly and having a reset position and a plurality of working positions along a rotating direction. Each working position corresponds to a discharge flow path. When the valve core assembly is at a working position, a discharge flow path corresponding to the working position communicates with the feed flow path. The valve body device further includes a drive assembly configured to drive the valve core assembly to rotate and including a position detection assembly configured to generate reset information when the valve core assembly is at the reset position, and a detection assembly configured to detect rotation information of the drive assembly and determine a rotating angle of the valve core assembly based on the rotation information.
1 . A valve body device, comprising:
a valve body assembly including a feed flow path and a plurality of discharge flow paths;
a valve core assembly rotatably provided at the valve body assembly and having a reset position and a plurality of working positions along a rotating direction, the plurality of working positions corresponding to the plurality of discharge flow paths, respectively, and when the valve core assembly is at one working position of the plurality of working positions, one of the plurality of discharge flow paths corresponding to the one working position communicating with the feed flow path;
a drive assembly configured to drive the valve core assembly to rotate, the drive assembly including:
a position detection assembly configured to generate reset information in response to the valve core assembly being at the reset position;
a drive member;
a first transmission member connected to the valve core assembly; and
a plurality of second transmission members connected successively and between the drive member and the first transmission member; and
a detection assembly configured to detect rotation information of the drive assembly, and determine a rotating angle of the valve core assembly based on the rotation information, the detection assembly including a trigger member and a detection member arranged apart from each other, and the trigger member and the detection member being respectively provided at two adjacent ones of the plurality of second transmission members.
2 . The valve body device according to claim 1 , wherein:
the detection assembly is configured to detect rotation information of the drive member or rotation information of the second transmission member.
3 . The valve body device according to claim 1 , wherein:
the detection member is configured to detect a rotation amount of the trigger member with respect to the detection member, to determine the rotation information of the drive assembly based on the rotation amount.
4 . The valve body device according to claim 1 , wherein:
the detection assembly further includes a support member.
5 . The valve body device according to claim 1 , wherein:
an output shaft of the drive member includes a drive end and a free end, and the drive end is connected to the second transmission member.
6 . The valve body device according to claim 1 , wherein:
the trigger member includes a magnetic member, and the detection member includes a magnetic angle sensor;
the trigger member includes a capacitance electrode, and the detection member includes a capacitance sensor; or
the detection member includes a radar.
7 . The valve body device according to claim 6 , wherein:
the magnetic angle sensor includes a hall sensor.
8 . A valve body device, comprising:
a valve body assembly including a feed flow path and a plurality of discharge flow paths;
a valve core assembly rotatably provided at the valve body assembly and having a reset position and a plurality of working positions along a rotating direction, the plurality of working positions corresponding to the plurality of discharge flow paths, respectively, and when the valve core assembly is at one working position of the plurality of working positions, one of the plurality of discharge flow paths corresponding to the one working position communicating with the feed flow path;
a drive assembly configured to drive the valve core assembly to rotate, the drive assembly including:
a position detection assembly configured to generate reset information in response to the valve core assembly being at the reset position;
a drive member;
a first transmission member connected to the valve core assembly; and
a plurality of second transmission members connected successively and between the drive member and the first transmission member; and
a detection assembly configured to detect rotation information of the drive assembly, and determine a rotating angle of the valve core assembly based on the rotation information, the detection assembly including a trigger member and a detection member arranged apart from each other, and the trigger member and the detection member being respectively provided at two adjacent ones of the plurality of second transmission members, the detection assembly being configured to detect rotation information of the drive member or rotation information of the second transmission member, and detect a rotation amount of the trigger member with respect to the detection member, to determine the rotation information of the drive assembly based on the rotation amount.