I've a Y.S. Tech fan with 4 non-standard colored wires connected in a UPS, and I want to replace that fan with a bigger standard 4pin fan doing a "UPS case mod". Motivations aside.

Here I want to focus my question on how to determine which wire is meant for what, for me to know how to proceed. So I want to keep the question general, regardless of the model UPS used nor the model fan used. I'm sure the connector wires/pins sequence I'm trying to replace, is non-standard.

Please assume here that I'm right and that we can't know the function of the pins/wires only by the original sequence of wires/pins nor the colors of the wires without further measurements.

There are some knowns though. The fan takes in 12V according to its spec and I've witnessed the speed control in action, so some form of PWM is also functional. Let's assume the PWM function itself is standard.

I can with some effort figure out which wire/pin is used for RPM sensing, by unplugging 1 wire at any one time until the UPS complains of a failing fan without the fan stopping from spinning at default RPM nor possibly speeding up to 100%. If the latter happens, then I have the answer I'm looking for here, but in case that doesn't happen, I need at least one alternative during the testing. Because disconnecting any of the remaining three wires could also just lead the fan to stop spinning depending on the fan.

Assume right now I don't have a way to know which wire/pin is used for the PWM signal. From what I understand the PWM signal is most probably 5V max, while the fan we know (a given spec) is 12V powered by a different wire. But I don't know how to measure which wire is conducting 5V with my multimeter while not knowing which wire is "GND or negative" in the same circuit.

Please remember to assume that the colors only help keep track of our measurements, but that the colors are not from the start helpful to determine the function without measurements.

I've searched and thought about it a lot, and don't know how to proceed.

Thank you in advance for any feedback. Please keep the scope within my current focus, so aside motivations for the mod nor device model names.

I've only basic relevant technical experiences, but I feel confident enough about the rest of my plan. And I'm willing to take the somewhat calculated risks.

Thanks again!

Edit: I measured and found the correct functions, and the color coding wasn't entirely non-standard, but the sequence definitely remains non-standard. My next step is soldering the wires in a standard sequence to a repurposed (part of) fan extension cable with plug/header pins.

I'm not sure I'm allowed to share the answer, or if it is considered "a trademark secret" by some stretch of the imagination by Y.S. Tech's reach.

The comment by gregb212 contained the needed general instructions and lead to the final answer I was looking for, but I remain responsible for the actual measurements and mod: Y.S. Tech Fan 4 wires, but which is which?

Edits: spelling, brand name fix, clarity and addition.

  • 1
    \$\begingroup\$ Plug the fan into its connector. Depower everything. Then use your multimeter to measure the resistance of the 4 pins to ground on the psu pcb. Look for the pin that has no resistance to ground. Once you establish ground, you can then repower the circuit and find your 12+ rail. \$\endgroup\$
    – gregb212
    Jan 5, 2018 at 18:51
  • \$\begingroup\$ Oh okay! That seems so logical, but I didn't think of it.. clever. Thank you! \$\endgroup\$ Jan 5, 2018 at 18:59
  • \$\begingroup\$ @gregb212 I found the answer thanks to your instructions! If you post it I'll vote it up as the answer if I can. Thanks again! \$\endgroup\$ Jan 5, 2018 at 23:42
  • \$\begingroup\$ Sure thing. Glad you found your issue! \$\endgroup\$
    – gregb212
    Jan 8, 2018 at 13:35

2 Answers 2


Plug the fan into its connector. Depower everything. Then use your multimeter to measure the resistance of the 4 pins to ground on the psu pcb. Look for the pin that has no resistance to ground. Once you establish ground, you can then repower the circuit and find your 12+ rail.

  • \$\begingroup\$ I voted this as the answer, but currently I don't have enough reputation for it to be publically displayed. It's recorded though for what it's worth. \$\endgroup\$ Jan 8, 2018 at 14:42

The part number will help you find the datasheet which defines the extra wire pair.

For reliability, a fan fail detect circuit is needed. This is usually done with a tach. circuit that also indicates the pulse rate or RPM and is the most common method.

Yen Sun Technology ( not Y.C. Tech) like most major fan suppliers have many configuration options. For sake of generality I have pasted this from the YS product guide.

enter image description here

  • \$\begingroup\$ Thank you for the quick response. Well I tried but fan model FD128025UB-N only gets me general specs, and didn't clarify the non-standard wire coloring/pins mapping. I even contacted them directly yesterday, but I'm not expecting the answer directly. Because they specialize in custom fans I thought. \$\endgroup\$ Jan 5, 2018 at 18:56
  • \$\begingroup\$ And thanks yes I did mean Y. S. but misremembered it. \$\endgroup\$ Jan 5, 2018 at 19:10
  • \$\begingroup\$ Do you have a DMM to measure the voltage on each wire? That can tell you. FD128025UB-N It is a 6W fan www.ystech.com.tw/db/upload/product/p-2011118162332-2.pdf \$\endgroup\$ Jan 5, 2018 at 19:13
  • \$\begingroup\$ Stewart. EE, yes I had seen that sheet. And gregb212 has provided the needed instructions how to go about the measurement with my multimeter: electronics.stackexchange.com/questions/348337/… \$\endgroup\$ Jan 5, 2018 at 19:28
  • \$\begingroup\$ Stewart EE, your original answer though was also helpful to be sure about the PWM implementation by Y.S. Tech, so definitely thanks for that! \$\endgroup\$ Jan 5, 2018 at 19:31

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.