Electric valve control device and electric valve control system
By using the communication unit and the control unit to convert the analog signal or valve opening information into a driving pulse in the electronic expansion valve control system, the problems of complex wiring and difficult management of multiple electric valve systems are solved, and the system is miniaturized and mutually beneficial. Transformity.
Patent Information
- Application Number
- CN202410659583.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2024-01-16
- Filing Date
- 2024-05-27
- Publication Date
- 2024-11-29
AI Technical Summary
In the case of multiple electric valves, the existing electronic expansion valve control system has complex wiring and is difficult to manage in a unified manner, and the system is large and lacks interchangeability.
The communication unit uses a communication unit to receive the valve opening information of the electric valve through a predetermined communication protocol, and converts the analog signal or valve opening information into a driving pulse. The driving circuit drives the electric valve based on these pulses. The control unit preferentially processes the information input in the communication to reduce the Wiring and miniaturize the system while retaining analog signal inputs to maintain interchangeability.
The system is miniaturized and space-saving, and the ability to manage multiple electric valves in a unified manner, maintain interchangeability with the previous system, reduce wiring complexity, and achieve unified management through communication control.
Smart Images

Figure CN119042385A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to an electric valve control device for controlling the valve opening of an electric valve such as an electronic expansion valve, and an electric valve control system including the electric valve control device. Background Art
[0002] For example, electric valves such as electronic expansion valves are used in refrigerators, coolers for semiconductor manufacturing equipment, etc. Such electric valves can be precisely opened and closed by using a stepping motor.
[0003] Such an electric valve is driven and controlled by converting an analog signal output from a control device such as a temperature regulator into a pulse signal by a pulse drive device (also referred to as a pulse output unit or a pulse converter) (see, for example, Patent Document 1).
[0004] In the case of the structure described in Patent Document 1, one pulse drive device and one control device are required for one electric valve. Therefore, if multiple electric valves are required due to multiple temperature adjustment locations, multiple pulse drive devices and control devices are required, which complicates wiring processing and increases the size of the system.
[0005] Furthermore, when using a plurality of pulse drive devices, if each is to be controlled individually by an analog signal, it is difficult to control the timing between the plurality of pulse drive devices and the electric valves, and there is a demand for unified management regardless of the analog signal.
[0006] Patent Document 1: Japanese Patent Application Publication No. 2011-220451 Summary of the invention
[0007] Therefore, an object of the present invention is to realize a system that is compact and space-saving, and that enables centralized management while maintaining compatibility with conventional systems.
[0008] One method of the invention completed to solve the above-mentioned problem comprises: an input unit, which is input with an analog signal representing the valve opening of the electric valve; a communication unit, which can receive valve opening information representing the valve opening of the electric valve from multiple devices through a predetermined communication protocol; a control unit, which converts the analog signal or the valve opening information into a drive pulse; and a drive circuit, which drives the electric valve based on the drive pulse, and the control unit converts the valve opening information input from the communication unit into the drive pulse in priority to the analog signal input from the input unit.
[0009] In addition, one method of the invention completed to solve the above-mentioned problem comprises: an input unit, which is input with an analog signal representing the valve opening of the electric valve; a communication unit, which can receive valve opening information representing the valve opening of the electric valve from multiple devices through a predetermined communication protocol; a control unit, which converts the analog signal or the valve opening information into a drive pulse and outputs it; a drive circuit, which drives the electric valve based on the drive pulse output by the control unit; and a switching unit, which switches between a first mode that uses the input unit and the communication unit and a second mode that only uses the communication unit.
[0010] According to one embodiment of the present invention, by providing a communication unit, one-to-one connection is not required, thereby reducing wiring, achieving system miniaturization and space saving. In addition, since the input unit for inputting analog signals is retained, compatibility with conventional systems can be maintained.
[0011] In addition, according to one embodiment of the present invention, the second mode can be set to be dedicated to communication, so that one-to-one connection is not required, wiring is reduced, and the system is miniaturized and space-saving. In addition, by setting it to the first mode, analog signals can also be used, so that it can maintain compatibility with the previous system. Moreover, control devices can be integrated through communication-based control, and unified management can be performed. BRIEF DESCRIPTION OF THE DRAWINGS
[0012] Figure 1 It is a schematic configuration diagram of an electric valve control system including an electric valve control device according to a first embodiment of the present invention.
[0013] Figure 2 yes Figure 1 The schematic structure diagram of the electric valve control device shown.
[0014] Figure 3 This is a diagram that shows the output pattern to the electric valve driven by the 1-2 phase excitation method and the output waveform in a table.
[0015] Figure 4 yes Figure 2 The flowchart of the communication operation of the pulse converter is shown.
[0016] Figure 5 Yes means Figure 2 The timing diagram of the operation example of the pulse converter shown.
[0017] Figure 6 It is a schematic configuration diagram of an electric valve control device according to a second embodiment of the present invention.
[0018] Figure 7 yes Figure 6 The flowchart of the communication operation of the pulse converter is shown. DETAILED DESCRIPTION
[0019] (First Embodiment)
[0020] An electric valve control device according to a first embodiment of the present invention will be described. Figure 1 1 is a schematic configuration diagram of an electric valve control system including the electric valve control device according to the present embodiment. Figure 2 yes Figure 1 The schematic structure diagram of the electric valve control device shown.
[0021] Figure 1 The electric valve control system 1 shown in the figure includes a pulse converter 10, a control device (CNT) 20, and an electronic expansion valve 30. Figure 1 In the example, the pulse converter 10 includes reference numerals 10a to 10c, the CNT 20 includes reference numerals 20a to 20c, and the electronic expansion valve 30 includes reference numerals 30a to 30c, but the number of each device is not limited to 3. The pulse converter 10 functions as the electric valve control device of the present embodiment.
[0022] The pulse converters 10a to 10c and the CNTs 20a to 20c are connected via a communication line CL. In the present embodiment, a daisy chain connection is adopted in which the CNTs 20a, 20b, 20c and the pulse converters 10c, 10b, 10a are connected in the order of one another. The daisy chain connection can utilize communication standards such as RS485 and RS422, for example. In addition, a bus connection or a ring connection can also be used. These connection methods are not connection methods in which the pulse converters 10 and the CNTs 20 correspond one to one, and therefore the wiring involved in the communication can be reduced.
[0023] In addition, the pulse converter 10 and the CNT 20 may also be connected via an analog signal line AL. Figure 1 In the embodiment, the pulse converter 10a and CNT20a can be connected via the analog signal line AL1, the pulse converter 10b and CNT20b can be connected via the analog signal line AL2, and the pulse converter 10c and CNT20c can be connected via the analog signal line AL3.
[0024] like Figure 2 As shown, the pulse converter 10 includes an analog input 11 , an I / V conversion circuit 12 , an operational amplifier circuit 14 , a microcomputer 18 , a power supply circuit 22 , a drive circuit 24 , a communication port 25 , and a communication circuit 26 .
[0025] The I / V conversion circuit 12 converts the signal (valve opening signal) related to the opening of the electric valve input from the analog input 11 into a voltage and outputs it to the operational amplifier circuit 14. The valve opening signal current is output from the CNT 20 as a current of, for example, 4 to 20 mA. The analog input 11 is connected to the analog signal line AL, and the valve opening signal current, that is, the analog signal output from the CNT 20 is input. That is, the analog input 11 functions as an input unit for inputting an analog signal indicating the valve opening of the electronic expansion valve 30 (electric valve).
[0026] The operational amplifier circuit 14 converts the valve opening signal voltage output from the I / V conversion circuit 12 into a voltage value suitable for the microcomputer 18 , and outputs the voltage to the microcomputer 18 .
[0027] The microcomputer 18 includes an A / D conversion circuit 34 , a CPU (Central Processing Unit) 36 , an I / O circuit 38 , a ROM (Read Only Memory) 40 , and a RAM (Random Access Memory) 42 .
[0028] The A / D conversion circuit 34 converts the valve opening signal voltage input to the microcomputer 18 from an analog signal to a digital signal.
[0029] The CPU 36 converts the valve opening signal converted into a digital signal by the A / D conversion circuit 34 or the opening instruction input from the communication circuit 26 described later into a driving pulse for driving the electronic expansion valve 30. Then, the CPU 36 controls the valve opening of the electronic expansion valve 30 via the I / O circuit 38 and the driving circuit 24 using the converted driving pulse. In addition, as described later, the CPU 36 processes the opening instruction input from the communication circuit 26 in priority to the valve opening signal converted into a digital signal by the A / D conversion circuit 34.
[0030] That is, the CPU 36 functions as a control unit that converts the valve opening signal (analog signal) or the opening indication (valve opening information) into a driving pulse. Furthermore, the CPU 36 converts the opening indication (valve opening information) input from the communication port 25 into a driving pulse in priority to the valve opening signal (analog signal) input from the analog input 11 (input unit).
[0031] The I / O circuit 38 outputs the drive pulse generated by the CPU 36 to the drive circuit 24. The ROM 40 stores, for example, a program for converting a valve opening signal or an opening instruction into a drive pulse, the above-mentioned communication control program, etc. The RAM 42 is used as temporary storage required for the CPU 36 to execute the program written in advance in the ROM 40.
[0032] The power supply circuit 22 generates a voltage required for operating an internal circuit such as the microcomputer 18 from an external power supply (not shown), and outputs the power supply voltage to the microcomputer 18 and the like.
[0033] The drive circuit 24 drives the electronic expansion valve 30 based on the drive pulse output from the microcomputer 18 to control the valve opening degree.
[0034] The driving pulse output from the driving circuit 24 can be appropriately changed according to the type of the electronic expansion valve 30. For example, when the electronic expansion valve 30 uses a stepping motor of a 1-2 phase excitation method, the driving pulse output from the driving circuit 24 can be appropriately changed according to the type of the electronic expansion valve 30. Figure 3 The drive pulse is output in the excitation mode shown. In addition, in the present embodiment, as the number of drive pulses, the rotation amount of one step of the stepping motor of the electronic expansion valve 30 is set as one pulse. For example, when the drive circuit 24 outputs Figure 3 In the case of excitation modes 1 to 8, it is 8 pulses.
[0035] The communication circuit 26 performs communication such as receiving the opening indication and the like through the communication port 25. The opening indication refers to the indication information of the valve opening information of the electronic expansion valve 30, which is sent from the control device 20. The communication circuit 26 communicates with the CNT 20 and the like using a communication protocol based on the above-mentioned communication standards such as RS485 and RS422. The communication port 25 is connected to the communication line CL. That is, the communication port 25 functions as a communication unit capable of receiving the opening indication (valve opening information) of the electronic expansion valve 30 (electric valve) from the CNT 20a, 20b, 20c (a plurality of devices) through a predetermined communication protocol.
[0036] CNT20 is a control device for controlling the pulse converter 10. CNT20 can be configured as a temperature regulator that outputs a control signal based on a temperature measured at a predetermined location of a refrigerator, a cooler for semiconductor manufacturing equipment, etc. CNT20 can be configured as a PLC (Programmable Logic Controller), for example.
[0037] The electronic expansion valve 30 is one form of an electric valve in the present embodiment. The electronic expansion valve 30 is provided in a refrigerator, a cooler for a semiconductor manufacturing device, etc. As described above, the electronic expansion valve 30 includes a stepping motor and is opened and closed by the pulse converter 10 .
[0038] Next, refer to Figure 4 The flow chart of will explain the communication operation in the pulse converter 10 of the above-mentioned structure. Figure 4 The flowchart shown is executed in the microcomputer 18 .
[0039] First, the microcomputer 18 determines whether an opening instruction is received through communication (step S1). Whether an opening instruction is received through communication can be determined by whether an opening instruction is input from the communication line CL via the communication port 25 and the communication circuit 26. As described above, the opening instruction is communication data indicating valve opening information of the electronic expansion valve 30.
[0040] In the case where an opening instruction is received by communication in step S1 (step S1: Yes), the microcomputer 18 resets the elapsed time and sets the communication opening priority flag to be valid (step S2). The elapsed time indicates the time that has passed since the opening instruction was received. In step S2, since the opening instruction was received in step S1, the elapsed time is reset. In the present embodiment, the elapsed time is set to, for example, 1 to 3 minutes so that the control does not immediately shift to the simulation.
[0041] The communication opening priority flag is a flag indicating that the opening instruction received from the communication port 25 takes precedence over the analog signal input from the analog input 11, and is set to be valid when the opening instruction is received. If the communication opening priority flag is set to be valid, the opening instruction takes precedence, and the analog signal input from the analog input 11 is set to be invalid during the valid period. That is, the analog signal is not received during the valid period of the communication opening priority flag.
[0042] On the other hand, when the opening degree instruction is not received by communication in step S1 (step S1 : No), the microcomputer 18 advances the elapsed time and proceeds to step S4 described later (step S3 ).
[0043] Next, the microcomputer 18 determines whether the elapsed time has passed a predetermined time, or whether a command to reset the communication opening priority flag to invalid has been received (step S4). The command to reset the communication opening priority flag to invalid is a type of command input from the communication line CL via the communication port 25 and the communication circuit 26. When the command is received, the communication opening priority flag is reset, and the analog signal input from the analog input 11 becomes valid. That is, the command to reset the communication opening priority flag to invalid functions as switching information to switch the input of the analog signal to acceptable.
[0044] In step S4, when the elapsed time exceeds the predetermined time or an instruction to set the communication opening priority flag to invalid is received (step S4: Yes), the microcomputer 18 resets the communication opening priority flag to invalid (step S5). On the other hand, when any condition of step S4 is not satisfied (step S4: No), step S5 is not executed and the process proceeds to step S6 described later.
[0045] Next, the microcomputer 18 determines whether the communication opening priority flag is valid (step S6). If the communication opening priority flag is valid (step S6: Yes), the microcomputer 18 operates at the opening (communication instruction opening) included in the opening instruction received by the communication circuit 26 (step S7). That is, pulses are generated based on the number of openings received by the communication circuit 26, and output to the drive circuit 24.
[0046] On the other hand, when the communication opening priority flag is invalid (step S6: No), the microcomputer 18 operates using the analog signal input from the analog input 11 (step S8). That is, pulses of the number based on the digital value obtained by converting the analog signal by the A / D conversion circuit 34 are generated and output to the drive circuit 24.
[0047] Next, refer to Figure 5 An operation example of the above-mentioned pulse converter 10 will be described. Figure 5 1 is a timing chart showing an example of the operation of the pulse converter 10. Figure 5 The opening degree of the electronic expansion valve 30 (expansion valve opening degree), the analog signal input from the analog input 11, the opening degree indication (communication indication) input from the communication port 25, and the communication opening degree priority flag (high: communication priority, low: analog input priority) are respectively shown.
[0048] First, as an initial state, the expansion valve opening is 0%, and the communication opening priority flag is at a low level (analog priority). Then, at time A, an instruction to change to an opening of 100% is input through the analog input 11. At this time, the communication opening priority flag becomes analog input priority, so the pulse converter 10 processes the analog signal input from the analog input 11 as a valid signal, outputs the number of pulses based on the instruction of the opening of 100%, and the expansion valve opening changes to 100%.
[0049] Next, at time B, when an instruction to change the opening degree to 50% is input through the analog input 11, the communication opening degree priority flag becomes analog input priority, so the pulse converter 10 processes the analog signal input from the analog input 11 as a valid signal. Therefore, the pulse converter 10 outputs pulses of the number based on the instruction of the opening degree of 50%, and the expansion valve opening degree changes to 50%.
[0050] Next, at time C, an instruction to change the opening degree to 100% is input through communication. Then, the communication opening degree priority flag changes to "high" (communication priority). When an opening degree instruction is received through communication, as shown in FIG. Figure 4As described in the flowchart of , step S1: Yes, step S2, step S4: No, step S6: Yes, step S7 are executed, and the pulse converter 10 treats the opening indicated by the communication as a valid signal. Therefore, the pulse converter 10 outputs the number of pulses based on the indication of the opening of 100%, and the expansion valve opening changes to 100%.
[0051] Next, at time D, when the communication instruction input is changed to an instruction of 75% opening, the communication opening priority flag becomes communication priority, so the pulse converter 10 processes the received communication instruction as a valid signal. Therefore, the pulse converter 10 outputs pulses of the number based on the instruction of 75% opening, and the expansion valve opening changes to 75%. In addition, during the period from time C to time E described later, the communication opening priority flag is communication priority, so the analog signal input from the analog input 11 is not received (ignored).
[0052] Next, at time E, when a predetermined time has passed since time D, the communication opening priority flag changes to "low" (analog input priority). Figure 4 The flowchart is executed with step S1: No, step S3, step S4: Yes, step S5, step S6: No, and step S8. Therefore, the pulse converter 10 receives the analog signal input from the analog input 11 at the time point E and processes it as a valid signal, outputs the number of pulses based on the indication of the opening degree 25% shown by the analog input 11 at the time point E, and the expansion valve opening degree changes to 25%.
[0053] That is, the microcomputer 18 (control unit) waits for the reception of the opening instruction (valve opening information) etc. (the above information) during a predetermined time after the opening instruction (valve opening information) is input, and does not accept the analog input 11 (analog signal). In addition, the microcomputer 18 (control unit) accepts the analog input 11 (analog signal) after the predetermined time has passed.
[0054] Next, at time F, when an instruction to change the opening degree to 50% is input through the analog input 11, the communication opening degree priority flag becomes analog input priority, so the pulse converter 10 processes the analog signal input from the analog input 11 as a valid signal. Therefore, the pulse converter 10 outputs pulses of the number based on the instruction of the opening degree of 50%, and the expansion valve opening degree changes to 50%.
[0055] Next, at time G, the communication instruction input is changed to an instruction indicating an opening of 0%. Then, the communication opening priority flag changes to "high". Therefore, the flowchart is executed in the same way as at time C, and the pulse converter 10 processes the received communication instruction as a valid signal, outputs pulses of the number based on the instruction indicating an opening of 0%, and the expansion valve opening changes to 0%.
[0056] Next, when a priority release instruction (communication opening degree priority invalid) is received from the communication at time H, the communication opening degree priority flag changes to "low." That is, the priority release instruction functions as switching information, and switches to enable receiving analog signal input.
[0057] Therefore, the flowchart is executed in the same manner as at time E, and the pulse converter 10 processes the opening indicated by the analog input 11 at time H as a valid signal. Therefore, the pulse converter 10 outputs pulses of the number of pulses based on the indication of the opening of 50% of the analog input at time H, and the expansion valve opening changes to 50%. That is, the microcomputer 18 (control unit) switches to being able to accept the input of the analog input 11 (analog signal) even during the predetermined time period according to the priority release instruction (switching information) received by the communication circuit 26 (communication unit).
[0058] According to the present embodiment, the pulse converter 10 includes: an analog input 11 to which an analog signal indicating the valve opening of the electronic expansion valve 30 is input; a communication port 25 to which an opening indication can be received from a plurality of devices through communication; a microcomputer 18 to convert the analog signal input to the analog input 11 or the opening indication received by the communication port 25 into a driving pulse; and a driving circuit 24 to drive the electronic expansion valve 30 based on the driving pulse. Furthermore, the microcomputer 18 converts the opening indication input from the communication port 25 into the driving pulse in priority to the analog signal input from the analog input 11.
[0059] By configuring the pulse converter 10 as described above, a one-to-one connection is not required, so a large number of wirings can be connected for communication and gathered into a dedicated communication line CL. Therefore, the system can be miniaturized and space-saving. In addition, since the analog input 11 to which the analog signal is input is retained, it is possible to maintain compatibility with the previous system.
[0060] In addition, the microcomputer 18 waits for the reception of the subsequent opening instruction during the predetermined time after receiving the opening instruction, and does not receive the analog signal input from the analog input 11. Thus, even if the transmission and reception based on the communication are not performed continuously, the communication can be processed unconditionally and preferentially within a certain period. By setting the waiting time for reception in the communication within a certain period, the load on the communication processing capacity of the microcomputer 18 and the external control device caused by the frequent switching of the analog input 11 and the communication port 25 can be reduced.
[0061] In addition, the microcomputer 18 can receive an analog signal input from the analog input 11 after a predetermined time has passed. This makes it easy to automatically enable the analog input without manual switching. Therefore, for example, when temporarily interrupting control by communication, it is possible to prevent forgetting to return to the analog input 11.
[0062] In addition, even during the predetermined time period, the microcomputer 18 can switch to accept the analog signal input from the analog input 11 according to the priority release instruction (communication opening priority invalid) received by the communication circuit 26. Thus, the analog input can be enabled at any timing. Therefore, control can be performed by analog input at any time.
[0063] In addition, the electric valve control system 1 includes a pulse converter 10 and a CNT 20 that outputs a valve opening to the pulse converter 10. In addition, there are a plurality of pulse converters 10 and at least one CNT 20. In addition, the communication port 25 of the pulse converter 10 is daisy-chained with the communication ports 25 of other pulse converters 10 or the CNT 20.
[0064] By configuring the electric valve control system 1 as described above, the pulse converter 10 and the CNT 20 are connected in series, so that the wiring involved in communication can be suppressed to a minimum.
[0065] In addition, in the above-mentioned embodiment, the communication port 25 and the communication circuit 26 are mainly used to input instructions to the pulse converter 10, but can also be used for output from the pulse converter 10. For example, the control state such as the current valve opening value and various set values can also be read and output. In this case, for example, the pulse converter 10 receives the read command, and as a response, the control state can be sent from the communication port 25 to the other party that sent the read command. That is, the communication port 25 (communication unit) can send the control state of the microcomputer 18 (control unit) to the outside.
[0066] In the above-mentioned embodiment, the CNT 20 is a temperature regulator or the like, but, for example, a terminal device or the like temporarily added for maintenance work such as starting the device or verification in case of a malfunction may be inserted into the communication line CL. In the present embodiment, since it is a daisy chain connection (or bus connection), temporary insertion of such a terminal device is easy, and a plurality of pulse converters 10 can be controlled from one terminal device. Therefore, centralized control from external devices is possible, and electric valves or the like can be arbitrarily controlled, and the degree of freedom of the system and control is increased.
[0067] In addition, for example, you can also delete Figure 1As in the structure of the CNT 20b and 20c described above, the pulse converter 10a connected to the analog input 11 and the pulse converters 10b and 10c connected only through the communication port 25 are mixed. In this way, the pulse converter 10 corresponding to the important electronic expansion valve 30 is connected to both the analog input 11 and the communication port 25 to be redundant, and the other electronic expansion valves 30 can only communicate. In addition, the pulse converter connected to both the analog input 11 and the communication port 25 is also connected to the communication port 25, so that the above-mentioned maintenance work is easy to perform.
[0068] In addition, when only the communication port 25 is connected, it is meaningless even if the analog input 11 becomes effective after a predetermined time. When the analog input 11 is not connected, it is impossible to distinguish whether it is "0" or an open terminal as an analog signal. Therefore, it is possible that the input is "0" after a predetermined time has passed and malfunctions. In addition, it is also possible that malfunctions may occur due to unstable input. Therefore, the use or non-use of the analog input 11 may be set in advance by a switching unit such as a switch.
[0069] As a specific example, a dip switch is provided in the pulse converter 10 to switch between use and non-use of the analog input 11. Then, for example, the analog input 11 is set to be used at the factory, and when the user does not use the analog input 11, the dip switch is switched to be non-use.
[0070] When the analog input 11 is set to be unused by the dip switch, the microcomputer 18 does not make the analog input 11 effective even if the predetermined time has passed (indefinite communication standby). That is, the mode is switched to the communication priority mode by the dip switch, and the operation is performed according to the opening instruction based on the constant communication without referring to the communication priority flag. For example, even if there is an instruction to invalidate the communication priority flag, the operation under the opening instruction during communication is continued because the setting of the dip switch takes priority.
[0071] That is, a switching unit for switching the use or non-use of the analog input 11 may be provided, and when the analog input 11 is switched to non-use, the microcomputer 18 converts the drive pulse only based on the valve opening information. In this way, malfunction caused by the analog input 11 not being connected can be prevented.
[0072] (Second Embodiment)
[0073] Next, refer to Figure 6 as well as Figure 7 The second embodiment of the present invention will be described. Note that the same reference numerals are used for the same parts as those of the first embodiment described above, and description thereof will be omitted.
[0074] Figure 6The schematic structure diagram of the pulse converter 10A of the present embodiment is shown. The pulse converter 10A includes an analog input 11, an I / V conversion circuit 12, an operational amplifier circuit 14, a microcomputer 18A, a power supply circuit 22, a drive circuit 24, a communication port 25, a communication circuit 26, and a DIP (Dual Inline Package) switch 44.
[0075] Figure 6 The analog input 11, I / V conversion circuit 12, operational amplifier circuit 14, power supply circuit 22, drive circuit 24, communication port 25 and communication circuit 26 in the structure shown are Figure 2 same.
[0076] As is well known, the DIP switch 44 is a small switch used for various settings of electronic equipment. In the present embodiment, the DIP switch 44 functions as a switching unit for switching between a first mode and a second mode described later. In addition, the physical switching unit that functions as a switching unit is not limited to the DIP switch, and other types of switches such as a push button switch and a toggle switch may also be used. Figure 6 In the structure of FIG. 1 , the DIP switch 44 is independent of the microcomputer 18A, but may be included in the microcomputer 18A. In short, the DIP switch 44 is provided with the pulse converter 10A and is electrically connected to the microcomputer 18A.
[0077] The microcomputer 18A includes an A / D conversion circuit 34, a CPU 36, an I / O circuit 38, a ROM 40, and a RAM 42. The functional block structure of the microcomputer 18A is similar to that of the Figure 2 Same, but the actions described below are different.
[0078] Next, refer to Figure 7 The communication operation in the pulse converter 10A according to the present embodiment will be described with reference to the flowchart of FIG. Figure 7 The flowchart shown is executed in the microcomputer 18A.
[0079] First, the microcomputer 18A determines whether the DIP switch 44 is set to the communication-only mode (step S11). That is, it determines whether it is the second mode that uses only the communication circuit (communication unit) 26. The first mode will be described later.
[0080] In step S11, when the DIP switch 44 is set to the communication-only mode (second mode) (step S11: Yes), the microcomputer 18A resets the elapsed time (step S12). Figure 4 Similarly to the description in , it indicates the time that has passed since the opening instruction was received, but in this step, it means initialization of the elapsed time.
[0081] Next, the microcomputer 18A sets the opening reference target to communication (step S13). Then, the microcomputer 18A operates according to the opening instruction received from the communication port 25 (step S14). That is, the drive pulse output from the drive circuit 24 is converted according to the opening instruction based on the communication. That is, the microcomputer 18A does not receive the analog signal when the DIP switch 44 is switched to the second mode. Here, the execution of steps S12 to S14 is the case of setting to the second mode.
[0082] On the other hand, when the DIP switch 44 is not set to the communication-only mode in step S11 (step S11: No), the microcomputer 18A determines whether a command to set the opening reference target to an analog signal is received (step S15). This command is the same as the command to reset the communication opening priority flag to invalid in the first embodiment. When this command is received, the analog signal input from the analog input 11 becomes valid.
[0083] Here, the execution of step S15 and the subsequent steps is when the determination of step S11 is "No". That is, the determination of whether it is the second mode is performed in step S11, which means that the execution of step S15 and the subsequent steps when step S11 is "No" is set to the first mode using both the analog input 11 (input unit) and the communication port 25 (communication unit). In addition, the use of both the analog input 11 and the communication port 25 in this embodiment does not mean using both the analog input 11 and the communication port 25 at the same time, but means that Figure 5 In the second mode, as described above, since the analog signal is ignored, the analog signal cannot be used even in time division.
[0084] When the analog signal is received from the analog input 11 in step S15 (step S15: Yes), the microcomputer 18A resets the elapsed time (step S16). In this step, the elapsed time is reset because the analog signal becomes valid.
[0085] Next, the microcomputer 18A sets the opening reference target to an analog signal (step S17 ). That is, the microcomputer 18A converts the drive pulse output from the drive circuit 24 based on the analog signal input from the analog input 11 .
[0086] Next, the microcomputer 18A determines whether the opening reference target is communication (step S18). If it is determined in step S18 that the opening reference target is communication (step S18: Yes), the microcomputer 18A operates according to the opening instruction received from the communication port 25 (step S19). On the other hand, if it is determined in step S18 that the opening reference target is not communication (step S18: No), the microcomputer 18A operates according to the analog signal input from the analog input 11 (step S20).
[0087] In addition, when the analog signal is not received from the analog input 11 in step S15 (step S15: No), the microcomputer 18A determines whether an opening instruction is received (step S21).
[0088] When the opening instruction is received in step S21 (step S21: Yes), the microcomputer 18A resets the elapsed time (step S22). In step S21, since the opening instruction is received, the elapsed time is reset.
[0089] Next, the microcomputer 18A sets the opening reference target to communication (step S23 ). That is, based on the opening instruction input from the communication port 25 , the microcomputer 18A converts the drive pulse output from the drive circuit 24 .
[0090] On the other hand, when the opening degree instruction is not received in step S21 (step S21 : No), the microcomputer 18A advances the elapsed time (step S24 ).
[0091] Next, the microcomputer 18A determines whether the forget-return prevention function is enabled and a predetermined time has passed (step S25). The forget-return prevention function is a function that enables the analog input 11 (returns to the analog input) after a predetermined time has passed with the opening reference target set to the communication in the first mode, which is a mode using both communication and simulation. Figure 4 The function is equivalent to step S4 in the flowchart. In this embodiment, it is possible to set whether to make the function of step S4 effective.
[0092] The forget-to-return function is set to be enabled or disabled inside the microcomputer 18A. That is, the memory, register, etc. in the microcomputer 18A function as a setting unit. In addition, the forget-to-return function can be set by communication from the communication port 25, or by using a switching unit such as a DIP switch 44 or other physical switches.
[0093] In step S25, when the forget-to-return function is enabled and the predetermined time has elapsed (step S25: Yes), the microcomputer 18A resets the elapsed time (step S26) and sets the opening reference target to the analog signal (step S27). That is, since the predetermined time has elapsed, the elapsed time is reset. In addition, the analog signal becomes the opening reference target by the forget-to-return function.
[0094] Therefore, in Figure 7 In the flowchart, when the answer to steps S11, S15, S21, S22 and S23 or S24, S25 is "No" and the process proceeds to S18, S19, there is an opening instruction based on communication, and communication is prioritized before a predetermined time (elapsed time) has passed.
[0095] According to the present embodiment, the pulse converter 10A includes: an analog input 11 to which an analog signal indicating the valve opening of the electronic expansion valve 30 is input; and a communication port 25 that can receive an opening indication from a plurality of devices through communication. In addition, the pulse converter 10A includes: a microcomputer 18A that converts the analog signal input to the analog input 11 or the opening indication received by the communication port 25 into a driving pulse and outputs it; and a driving circuit 24 that drives the electronic expansion valve 30 based on the driving pulse output by the microcomputer 18A. In addition, the pulse converter 10A includes a DIP switch 44 that switches between a first mode in which the analog input 11 and the communication port 25 are used together and a second mode in which only the communication port 25 is used.
[0096] By configuring the pulse converter 10 as described above, the second mode can be set to be dedicated to communication, so that one-to-one connection is not required, wiring is reduced, and the system can be miniaturized and space-saving. In addition, by setting it to the first mode, analog signals can also be used, so that compatibility with the previous system can be maintained. Moreover, when control based on analog signals is not required, control devices can be integrated through control based on communication, and unified management can be achieved.
[0097] When the DIP switch 44 is switched to the first mode, the microcomputer 18A converts the opening instruction input from the communication port 25 into a drive pulse in priority to the analog signal input from the analog input 11. This allows communication to be processed with priority, making it easy to manage a plurality of devices in a unified manner.
[0098] In addition, the microcomputer 18A is provided with a setting for preventing the forgetting to return function by setting whether to accept the input of the analog signal after a predetermined time has passed after the input of the opening instruction when the DIP switch 44 is switched to the first mode. Thus, the user can set it so that the analog signal is not automatically allowed to be accepted after the predetermined time has passed. Therefore, the operation can be performed only by communication before receiving the instruction to set the opening reference target to the analog signal, and the switching can be performed at any timing based on the user's intention.
[0099] In addition, when the setting of the forget-return prevention function is set to accept the input of the analog signal after a predetermined time has passed after the input of the opening indication, the microcomputer 18A waits for the reception of the opening indication before the predetermined time has passed, and accepts the analog signal after the predetermined time has passed. Thus, even if the transmission and reception based on the communication is not performed, the communication can be unconditionally prioritized for a certain period of time. In addition, it is easy to automatically enable the analog input 11 without manual switching.
[0100] In addition, when the setting of the forget-return prevention function is set to not accept the input of the analog signal even if a predetermined time has passed after the input of the opening instruction, the microcomputer 18A does not accept the analog signal even if the predetermined time has passed. As a result, the analog signal is not automatically accepted, so that control based on the analog signal can be performed, and the convenience of the user who mainly uses the communication can be improved.
[0101] In addition, even during a predetermined time period, the microcomputer 18A can switch the communication circuit 26 to receive an analog signal input from the analog input 11 by setting the opening reference target to an analog signal. Thus, the analog input can be enabled at any timing. Therefore, control can be performed by analog input at any time.
[0102] When the switch unit is switched to the second mode, the microcomputer 18A does not receive analog signals. Therefore, when used only by communication, no input from the analog input 11 is received, thereby preventing malfunctions caused by noise or the like entering from the analog input 11.
[0103] In addition, in this embodiment, similarly to the first embodiment, the communication port 25 and the communication circuit 26 may be used for the output from the pulse converter 10 .
[0104] In the second embodiment described above, the first mode and the second mode are switched by a physical switching unit such as the DIP switch 44, but the switching may be performed by receiving a command related to the mode switching from the communication port 25. The setting information based on the command related to the mode switching is preferably set in a non-volatile memory in the microcomputer 18, for example, and the content once set is maintained even if the power is turned off.
[0105] Furthermore, the communication connection method is not limited to wired methods such as daisy chain connection and bus connection, and may be wireless. If it is wireless, the communication line CL is not required, so further miniaturization can be achieved.
[0106] In addition, the present invention is not limited to the above-mentioned embodiments. That is, those skilled in the art can implement the present invention by various modifications according to the previously known understandings without departing from the main purpose of the present invention. Through such modifications, as long as the structure of the electric valve control device and the electric valve control system of the present invention is provided, it is of course also included in the scope of the present invention.
[0107] Explanation of symbols
[0108] 1 Electric valve control system,
[0109] 10. 10A pulse converter (electric valve control device),
[0110] 11Analog input (input part),
[0111] 18, 18A microcomputer (control unit),
[0112] 20 control device,
[0113] 24 drive circuit,
[0114] 25 communication ports (communication unit),
[0115] 30 electronic expansion valve (electric valve),
[0116] 44DIP switch (switching part).
Claims
1. An electric valve control device, characterized in that: have: an input unit to which an analog signal representing a valve opening degree of the electric valve is input; a communication unit capable of receiving valve opening information indicating the valve opening of the electric valve from a plurality of devices through a predetermined communication protocol; a control unit that converts the analog signal or the valve opening information into a driving pulse; as well as a drive circuit that drives the electric valve based on the drive pulse, The control unit converts the valve opening information input from the communication unit into the drive pulse in priority to the analog signal input from the input unit.
2. The electric valve control device according to claim 1, characterized in that: The control unit waits for reception of the valve opening information for a predetermined time after input of the valve opening information, and does not receive the analog signal.
3. The electric valve control device according to claim 2, characterized in that: The control unit receives the analog signal after the predetermined time has elapsed.
4. The electric valve control device according to claim 2, characterized in that: The control unit switches to accept input of the analog signal according to the switching information received by the communication unit even during the predetermined time period.
5. The electric valve control device according to claim 1, characterized in that: The communication unit can transmit the control state of the control unit to the outside.
6. An electric valve control system comprising: the electric valve control device according to any one of claims 1 to 5; and a control device which outputs the valve opening to the electric valve control device, characterized in that: A plurality of the electric valve control devices are provided, and more than one control device is provided. The communication unit of the electric valve control device is connected to the communication units of other electric valve control devices or the control device through a daisy chain connection or a bus connection.
7. The electric valve control system according to claim 6, characterized in that: An input unit of one of the plurality of electric valve control devices is connected to the control device.
8. An electric valve control device, characterized in that: have: an input unit to which an analog signal representing a valve opening degree of the electric valve is input; a communication unit capable of receiving valve opening information indicating the valve opening of the electric valve from a plurality of devices through a predetermined communication protocol; a control unit that converts the analog signal or the valve opening information into a driving pulse and outputs the driving pulse; a drive circuit that drives the electric valve based on the drive pulse output by the control unit; as well as A switching unit switches between a first mode in which the input unit and the communication unit are used together and a second mode in which only the communication unit is used.
9. The electric valve control device according to claim 8, characterized in that: When the switching unit switches to the first mode, the control unit converts the valve opening information input from the communication unit into the drive pulse in priority to the analog signal input from the input unit.
10. The electric valve control device according to claim 8, characterized in that: The electric valve control device includes a setting unit that sets whether to accept input of the analog signal after a predetermined time has elapsed after the valve opening information is input, when the switching unit is switched to the first mode.
11. The electric valve control device according to claim 10, characterized in that: When the setting unit is set to accept the input of the analog signal after the predetermined time has passed after the input of the valve opening information, the control unit waits for the reception of the valve opening information before the predetermined time has passed, and accepts the analog signal after the predetermined time has passed.
12. The electric valve control device according to claim 10, characterized in that: When the setting unit sets not to accept the input of the analog signal even if the predetermined time has passed after the input of the valve opening information, the control unit does not accept the analog signal even if the predetermined time has passed.
13. The electric valve control device according to claim 10, characterized in that: The control unit switches to accept input of the analog signal according to the switching information received by the communication unit even during the predetermined time period.
14. The electric valve control device according to claim 8, characterized in that: When the switching unit switches to the second mode, the control unit does not receive the analog signal.
15. The electric valve control device according to claim 8, characterized in that: The communication unit can transmit the control state of the control unit to the outside.
16. An electric valve control system comprising: the electric valve control device according to any one of claims 8 to 14; and a control device which outputs the valve opening to the electric valve control device, characterized in that: A plurality of the electric valve control devices are provided, and more than one control device is provided. The communication unit of the electric valve control device is connected to the communication unit of the other electric valve control devices or the control device through a daisy chain connection or a bus connection.
